mirror of
https://github.com/1j01/textual-paint.git
synced 2024-12-30 10:12:01 +03:00
Compromise on the layout of the image attributes dialog for now
This commit is contained in:
parent
0754b1f99a
commit
4effc9d599
@ -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 {
|
||||||
|
8
paint.py
8
paint.py
@ -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"),
|
||||||
|
Loading…
Reference in New Issue
Block a user