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;
}
#attributes_dialog Input {
width: 10;
/* height: 10; */
padding: 4;
background: red;
border: inner yellow;
}
#attributes_dialog * {
border: outer $panel-darken-1;
width: 20;
}
EditColorsDialogWindow .window_content {

View File

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