[Lazarus] Docking manager implementation

Graeme Geldenhuys graemeg.lists at gmail.com
Sun Jan 25 13:18:11 CET 2009


On Sun, Jan 25, 2009 at 2:24 AM, Mattias Gaertner
<nc-gaertnma at netcologne.de> wrote:
>
>> * Auto resize of components so translation text NEVER gets clipped. I
>> have fixed things like this a 100 times in Lazarus, until the next
>> person edits something in that form, or somebody changes something in
>> the widgetset code. With LCL as used in Lazarus IDE, such things are
>> always broken.
>
> 1. Can you give the bug report number for the broken layouts, where
> the translation overlap in the IDE?

Yes. See attached image. I have a few more screenshots I can send as well.

* See the captions of "Major version", "Minor Version" and "Build"
* See the "Other info" group box.

Like I said, there are a few more. Over the years I am submitted
patches, just to see the issue appear somewhere else again. So now I
gave up on this issue.


> 2. You can overlap in MiG too.

Only if you explicitly specify (x,y) position of components!  Via
standard usage, it will never occur.


> ... instead it needs some extra properties for that. It is semi
> automatic.

All you need to specify is if the button is one of the common types:
Help, OK, Cancel etc... MiG then automatically detects the platform
and arranges the buttons correctly.


>> * Built-in debug mode, to help with layout design and debugging.
>
> Do you mean the red and green borders?
> That does not help much. IMHO a good designer should visualize the
> dependencies.

And a good layout manager would make a "visual designer" obsolete.
Visual designers have lots of issues or write crappy code, which a
programmer could have done much better manually. Issues with Delphi
and Lazarus visual designer:  Global variable for the form; All
components are published and publicly available etc... The list goes
on. All not great OO design principals.  Most Java visual designers
are even worse!


Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ProjectOptions_VersionInfo.png
Type: image/png
Size: 3422 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20090125/097ee241/attachment-0007.png>


More information about the Lazarus mailing list