From 5008837682abfa4d0e94980d0cbcb0244663531f Mon Sep 17 00:00:00 2001 From: Sina Atalay Date: Mon, 15 Apr 2024 01:03:15 +0300 Subject: [PATCH] engineeringresumes: include `date_and_location_width` setting --- rendercv/themes/engineeringresumes/__init__.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/rendercv/themes/engineeringresumes/__init__.py b/rendercv/themes/engineeringresumes/__init__.py index eb40f25..b443f76 100644 --- a/rendercv/themes/engineeringresumes/__init__.py +++ b/rendercv/themes/engineeringresumes/__init__.py @@ -1,5 +1,4 @@ from typing import Literal -from typing import ClassVar as NotUsedInput import pydantic import pydantic_extra_types.color as pydantic_color @@ -23,15 +22,13 @@ class EntryAreaMarginsForEngineeringresumes(EntryAreaMargins): ) vertical_between: LaTeXDimension = pydantic.Field( - default="0.1 cm", + default="0.15 cm", title="Vertical Margin Between Entry Areas", description=( "The vertical margin between entry areas. The default value is 0.1 cm." ), ) - date_and_location_width: NotUsedInput - class HighlightsAreaMarginsForEngineeringresumes(HighlightsAreaMargins): """This class is a data model for the highlights area margins.""" @@ -112,7 +109,9 @@ class EngineeringresumesThemeOptions(ThemeOptions): " in the header. The default value is false." ), ) - text_alignment: Literal["left-aligned", "justified", "justified-with-no-hyphenation"] = pydantic.Field( + text_alignment: Literal[ + "left-aligned", "justified", "justified-with-no-hyphenation" + ] = pydantic.Field( default="left-aligned", title="Text Alignment", description="The alignment of the text. The default value is left-aligned.",