GUI2: remove GUI_WINDOW_PERC_FIXED_SIZE_CENTERED

This commit is contained in:
Charles Dang 2025-03-05 13:13:09 -05:00
parent b40edadd1a
commit ebffc334ee
2 changed files with 0 additions and 11 deletions

View File

@ -374,16 +374,6 @@
window_height = 900
#enddef
#define GUI_WINDOW_PERC_FIXED_SIZE_CENTERED PERC_W PERC_H WIDTH HEIGHT
automatic_placement = false
width = "(max(min(screen_width, {WIDTH} ), min(screen_width * {PERC_W} / 100, {WIDTH} )))"
height = "(max(min(screen_height, {HEIGHT}), min(screen_height * {PERC_H} / 100, {HEIGHT})))"
x = "(floor((screen_width - window_width) / 2))"
y = "(floor((screen_height - window_height) / 2))"
#enddef
#define _WIDGET_DEBUG_BORDER
debug_border_mode = 1
debug_border_color = "255, 255, 255"

View File

@ -257,7 +257,6 @@
[resolution]
definition = "default"
#{GUI_WINDOW_PERC_FIXED_SIZE_CENTERED 80 95 850 800}
maximum_height = 850
[linked_group]