Fix large window bug on small resolution screens
This commit is contained in:
parent
53a4777985
commit
286faba203
|
@ -14,7 +14,9 @@ const
|
||||||
# GTK CSS for overriding the default icon size of buttons
|
# GTK CSS for overriding the default icon size of buttons
|
||||||
gtkCSS = """
|
gtkCSS = """
|
||||||
.style-button {
|
.style-button {
|
||||||
padding: 0.3em 0.3em;
|
min-width: 5.5em;
|
||||||
|
min-height: 5em;
|
||||||
|
padding: 0.3em;
|
||||||
border-radius: 14%;
|
border-radius: 14%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -81,7 +83,7 @@ method view(app: AppState): Widget =
|
||||||
Window:
|
Window:
|
||||||
title = "TROMjaro Theme Switcher"
|
title = "TROMjaro Theme Switcher"
|
||||||
# Shrink window to the smallest size
|
# Shrink window to the smallest size
|
||||||
defaultSize = (900, 700)
|
defaultSize = (1, 1)
|
||||||
iconName = appLogo
|
iconName = appLogo
|
||||||
# Vertical box
|
# Vertical box
|
||||||
Box(orient = OrientY, margin = 13, spacing = 10):
|
Box(orient = OrientY, margin = 13, spacing = 10):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user