[Lazarus] All edit+button components have issues with alignment
nc-gaertnma at netcologne.de
Fri Jun 26 11:11:15 CEST 2009
Zitat von Graeme Geldenhuys <graemeg at opensoft.homeip.net>:
> Mattias Gärtner wrote:
>> Put TDateEdit into a TPanel.
> Surely that is not the recommended usage for *all* button edit based
> components? If so, why not simply fix the component to have an embedded
> panel (as you suggest) without the developer having to do that manually.
> Resource count would be the same either way, but the latter would be
> much easier to work with. Or fix the Form Designer, to take the button
> into account when it shows the grab handles or does width alignment
> against other components.
> So is this going to be an issue with all composite based components? For
> example, in tiOPF there are some custom GUI components that are all
> composite components. Meaning, it is a few components working together
> as one: Double selection listbox, advanced date range which uses radio
> buttons as well, etc... So alignment or selection in Form Designer will
> fail on all those, unless I manually embed them in another TPanel.
> Sounds more like a bug in Lazarus, because Delphi's Form Designer
> handles composite components as one large component.
The designer just shows what is there. TDateEdit is currently two controls.
Patches are welcome to make it a true composite control.
A bug report is welcome too.
Powered by NetMail
More information about the Lazarus