A combobox with csSimple style is not handled properly at design time (win32). It's impossible to give the control a specific Height, it stays on the dropdown style equivalent (Height=23).
Is it me, or is this a bug?
DoDi

Mailing lists / lazarus / 2011-12
7 messages · 5 people · –
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
A combobox with csSimple style is not handled properly at design time (win32). It's impossible to give the control a specific Height, it stays on the dropdown style equivalent (Height=23).
Is it me, or is this a bug?
DoDi
I think it's a limitation of the underlying win32 widget.
No, it's a limitation (or bug) in the Lazarus widgeset. Perhaps related to the assumption, that the drop-down list height is specified by the number of items - what's not always handy with non-dropdown lists.
DoDi
Hans-Peter Diettrich wroteNo, it's a limitation (or bug) in the Lazarus widgeset.
What makes you so sure?
AFAIR the native Windows combo box is really limited on the height.
2011/12/28 Felipe Monteiro de Carvalho :
Except when using the ancient csSimple style. Then the height includes the always visible (always dropped down) list, IIRC.
Vincent
Correct.
Michael.
On Wed, Dec 28, 2011 at 3:09 AM, Hans-Peter Diettrich What makes you so sure? AFAIR the…
I already used Windows comboboxes decades ago, on Win3.1.
AFAIR the native Windows combo box is really limited on the height.
No. Delphi allows me to specify a height in pixels, at design time, and reflects it properly. Lazarus shows the list only when the control is aligned (e.g. alLeft), and even then the gap between the logical (integral) and physical height is unhandled (background never erased).
DoDi