make dropdown list width at least the width of the combobox
This also makes the text in the list left-aligned. patch by vultraz
This commit is contained in:
parent
4739413502
commit
95e43a6fc6
1 changed files with 5 additions and 2 deletions
|
@ -9,11 +9,11 @@
|
|||
[resolution]
|
||||
maximum_width = 9999
|
||||
maximum_height = 9999
|
||||
## click_dismiss = "false"
|
||||
#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="(if(window_width > 0, window_width, screen_width))"
|
||||
## For some unknown reason qwe need a +5 here othwerwise the dialog won't really have the same size as the button.
|
||||
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]
|
||||
|
|
Loading…
Add table
Reference in a new issue