Closed jimorc closed 1 year ago
The problem seems to occur when the layout_style expanded parameter is set to true. I'll do some research as soon as possible.
The issue is fixed.
On macOS if the height of the combo_box is greater than 32 pixels, macOS does not draw the combo_box correctly. This will result in a display error between the border and the text of the control (see the print screen below).
When you run an application that uses a combo_box with a height greater than 32 pixels, macOS displays the following message:
"This application is trying to draw a very large combo box, 32 points tall. Vertically resizable combo boxes are not supported, but it happens that 10.4 and previous drew something that looked kind of sort of okay. The art in 10.5 does not break up in a way that supports that drawing. This application should be revised to stop using large combo boxes. This warning will appear once per app launch."
Describe the bug
When a combo_box is placed inside vertical_layout_panel and that panel is placed inside a form, opening the combo_box list fires the drop_down event twice. Closing the drop_down list causes the drop_down_closed event to be fired twice. If a combo_box is placed directly into a form, then the events are fired only once.
See the sample program below:
To Reproduce
Steps to reproduce the behavior:
Expected behaviour
In step 5, above, "In drop_down" should be printed once, followed by "In drop_down_closed" once.
Screenshots
N/A
Desktop (please complete the following information)
Additional context N/A
Workaround None satisfactory.