WC: Make that macro uppercase as per style guidelines
This commit is contained in:
parent
63aad7453c
commit
1af920669c
1 changed files with 4 additions and 4 deletions
|
@ -3,15 +3,15 @@
|
|||
# Since this file is loaded standalone, we need to manually include these
|
||||
{gui/macros}
|
||||
|
||||
#define formula_gui_scale_resolution size
|
||||
"(max({size}, floor({size} * 265 * 2 / (3 * screen_pitch_microns))))"
|
||||
#define FORMULA_GUI_SCALE_RESOLUTION SIZE
|
||||
"(max({SIZE}, floor({SIZE} * 265 * 2 / (3 * screen_pitch_microns))))"
|
||||
#enddef
|
||||
|
||||
[resolution]
|
||||
automatic_placement = true
|
||||
|
||||
maximum_width = {formula_gui_scale_resolution 1024}
|
||||
maximum_height = {formula_gui_scale_resolution 800}
|
||||
maximum_width = {FORMULA_GUI_SCALE_RESOLUTION 1024}
|
||||
maximum_height = {FORMULA_GUI_SCALE_RESOLUTION 800}
|
||||
|
||||
[helptip]
|
||||
id = "tooltip_large"
|
||||
|
|
Loading…
Add table
Reference in a new issue