[Lazarus] All edit+button components have issues with alignment

Mattias Gärtner nc-gaertnma at netcologne.de
Fri Jun 26 10:53:53 CEST 2009


Zitat von Hans-Peter Diettrich <DrDiettrich1 at aol.com>:

> Graeme Geldenhuys schrieb:
>
>> Is this by design or a bug?  I experienced the same problem when I tried
>> to improve the component alignment in the IDE Build Dialog. Any
>> component that include a button: TDateEdit, TFileNameEdit,
>> TDirectoryEdit, ... has this problem.
>
> I also experienced problems with TToolButtons. When a form is  
> docked, the toolbuttons do not retain their size. This happens with  
> win32, not with gtk2. Maybe a related problem?

Unlikely.
TDateEdit are two controls, but Graeme wants to align/anchor them as one.
When TDateEdit was written the LCL autosizing was not as flexible as  
it is nowadays.
Maybe it is time to rewrite TDateEdit and friends using a TCustomPanel.

Please create an example/bug report for the tool buttons.

Mattias

--
Powered by NetMail





More information about the Lazarus mailing list