[Lazarus] Anchor editor + themes
Juha Manninen
juha.manninen at phnet.fi
Fri Dec 18 13:02:00 CET 2009
On tiistai, 15. joulukuuta 2009 12:03:03 Mattias Gaertner wrote:
> JoshyFun <joshyfun at gmail.com> wrote:
> > Controls are being moved quite sure because they are anchored ones to
> > others, maybe you must remove all anchors (to other objects) while you
> > design.
>
> Maybe Juha has not yet spotted the anchor editor?
What anchor editor? Ah, that one! I was looking at it some time ago and
wondered what it does. Delphi doesn't have such, or does it? At least I never
used one. It seems to be very powerful now that I learned it. Great!
But I have complaints (again), too. The anchors (set of booleans) in object
inspector map directly to anchor editor window settings. However there is no
indication of which control the selected one is anchored to. I though it is
anchored to the parent control, but no.
I suggest removing the set of booleans from object inspector's anchors and
instead have a button there which opens the anchor editor. (A button like
Listbox.Items has). This would be a deviation from Delphi but who cares.
Now it is misleading and duplicate. I know, it is a small thing once you know
it but an intuitive GUI is still an important goal, IMO.
I was able to fix all the small alignment problems.
JoshyFun: the Radiogroup alignment problem was due to BorderSpace settings.
> About colors:
> Don't mix fixed colors and themed colors.
> You can use fixed text color on fixed background or theme color on
> theme background, but not fixed color on theme background.
Is themed color such as clWindowText and clCaptionText?
And fixed color is like clMaroon which I used for text, or how?
By theme background you mean the actual control's color property, right?
Or, is there some hidden setting for themes somewhere?
Regards,
Juha
More information about the Lazarus
mailing list