Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- data/gui/default/window/drop_down_list.cfg | 5 ++++-
- 1 file changed, 4 insertions(+), 1 deletion(-)
- diff --git a/data/gui/default/window/drop_down_list.cfg b/data/gui/default/window/drop_down_list.cfg
- index 94697a1..b8aefee 100644
- --- a/data/gui/default/window/drop_down_list.cfg
- +++ b/data/gui/default/window/drop_down_list.cfg
- @@ -13,7 +13,7 @@
- #define FORMULA_WINDOW_HEIGHT
- min(if(window_height > 0, window_height, screen_width), max(button_y, screen_height - button_h - button_y)) #enddef
- definition = "default"
- - width="(max(button_w, if(window_width > 0, window_width, screen_width)))"
- + width="(max((button_w + 5), if(window_width > 0, window_width, screen_width)))"
- height="({FORMULA_WINDOW_HEIGHT})"
- ## Show the droplist below or above the button, whereever we have enough space. Below is preffered.
- x="(min(button_x, screen_width - window_width))"
- @@ -55,6 +55,9 @@ min(if(window_height > 0, window_height, screen_width), max(button_y, screen_hei
- [row]
- [column]
- + border = "all"
- + border_size = 5
- + horizontal_alignment = "left"
- [label]
- id="label"
- [/label]
Advertisement
Add Comment
Please, Sign In to add comment