Vultraz

Untitled

Jan 19th, 2016
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. data/gui/default/window/drop_down_list.cfg | 5 ++++-
  2. 1 file changed, 4 insertions(+), 1 deletion(-)
  3.  
  4. diff --git a/data/gui/default/window/drop_down_list.cfg b/data/gui/default/window/drop_down_list.cfg
  5. index 94697a1..b8aefee 100644
  6. --- a/data/gui/default/window/drop_down_list.cfg
  7. +++ b/data/gui/default/window/drop_down_list.cfg
  8. @@ -13,7 +13,7 @@
  9. #define FORMULA_WINDOW_HEIGHT
  10. min(if(window_height > 0, window_height, screen_width), max(button_y, screen_height - button_h - button_y)) #enddef
  11. definition = "default"
  12. - width="(max(button_w, if(window_width > 0, window_width, screen_width)))"
  13. + width="(max((button_w + 5), if(window_width > 0, window_width, screen_width)))"
  14. height="({FORMULA_WINDOW_HEIGHT})"
  15. ## Show the droplist below or above the button, whereever we have enough space. Below is preffered.
  16. x="(min(button_x, screen_width - window_width))"
  17. @@ -55,6 +55,9 @@ min(if(window_height > 0, window_height, screen_width), max(button_y, screen_hei
  18. [row]
  19.  
  20. [column]
  21. + border = "all"
  22. + border_size = 5
  23. + horizontal_alignment = "left"
  24. [label]
  25. id="label"
  26. [/label]
Advertisement
Add Comment
Please, Sign In to add comment