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;
|
||||
}
|
||||
#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 {
|
||||
|
8
paint.py
8
paint.py
@ -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"),
|
||||
|
Loading…
Reference in New Issue
Block a user