Compromise on the layout of the image attributes dialog for now

This commit is contained in:
Isaiah Odhner 2023-04-28 15:27:15 -04:00
parent 0754b1f99a
commit 4effc9d599
2 changed files with 5 additions and 12 deletions

View File

@ -273,14 +273,7 @@ CharacterSelectorDialogWindow .cancel {
padding: 1 2; padding: 1 2;
} }
#attributes_dialog Input { #attributes_dialog Input {
width: 10; width: 20;
/* height: 10; */
padding: 4;
background: red;
border: inner yellow;
}
#attributes_dialog * {
border: outer $panel-darken-1;
} }
EditColorsDialogWindow .window_content { EditColorsDialogWindow .window_content {

View File

@ -2088,14 +2088,14 @@ class PaintApp(App[None]):
) )
window.content.mount( window.content.mount(
Vertical( Vertical(
Horizontal( # Horizontal(
Static(_("Width:")), Static(_("Width:")),
Input(id="width_input", value=str(self.image.width)), Input(id="width_input", value=str(self.image.width)),
), # ),
Horizontal( # Horizontal(
Static(_("Height:")), Static(_("Height:")),
Input(id="height_input", value=str(self.image.height)), Input(id="height_input", value=str(self.image.height)),
), # ),
), ),
Container( Container(
Button(_("OK"), classes="ok submit", variant="primary"), Button(_("OK"), classes="ok submit", variant="primary"),