[Lazarus] Issues resizing a TComboBox

Bee bisma at brawijaya.ac.id
Mon Feb 18 12:53:04 CET 2008


I also don't understand this issue from LCL point of view. I used to 
able to resize TComboBox on Delphi (7). It's just a matter of some 
properties value setting.

-Bee-

has Bee.ography at:
http://beeography.wordpress.com


Graeme Geldenhuys wrote:
> Hi,
> 
> I have heard many times that widgetsets like Win32 and Qt doesn't
> allow TComboBox to be resized.  Or makes in very difficult.
> Apparently the widgetset will automatically adjust the Height of such
> a component.
> 
> Mantis contains bug reports as follows:
>   http://bugs.freepascal.org/view.php?id=10840
> 
> I'm just curious.  Why would the widgetset want to force autosize on a
> TComboBox, but not on a TEdit?  A TEdit also contains text and can
> have different font styles, it just doesn't contain a embedded button.
> So again, why can TEdit be resized at will, but TComboBox not. I fail
> to see the reasoning (technical or otherwise) behind that.
> 
> PS:
> I know this is not something introduced by LCL, but rather the
> underlying native widgetset.
> 
> 
> Regards,
>   - Graeme -




More information about the Lazarus mailing list