I wasn't specifically talking about docking manager, though the subjects are probably linked to an extent.
I am liking what you're doing with the dock manager by the way. It looks exciting. "proportional scaling" - could you point me to examples etc? Sounds like what I want to do... Regards, -Reenen On Sat, Jan 24, 2009 at 9:20 PM, Hans-Peter Diettrich <[email protected]>wrote: > Reenen Laurie schrieb: > > > For me, all I really want that's not supported via Lazarus at the moment > > is the % of parent statement... > > Are you talking about the form designer or docking manager? > > A percentage based scaling is unsafe, because the sum may exceed 100%. > It also will be hard to add any new element, requiring a recalculation > of the previous percentages. What about the required adjustment of > percentages in other rows or columns of the same layout? Also required > is kind of an alClient value, for an element that should fill the > remaining space. > > That's why I'd favor a proportional scaling, as used in the dock site > resize procedure. When the undocked sizes are used for scaling, nothing > new has to be added to the existing design tools and data structures. It > might be possible to take into account the control alignment (including > alClient, see above), but this may require a distinct DockAlign property > with every control. > > For general layout managers it may be necessary to add a reference size > for proportional scaling, dunno whether this is related to the newer > Delphi ExplicitWidth etc. properties. It may be possible to mix absolute > and relative sizes, when relative sizes are given as negative values. > > DoDi > > _______________________________________________ > Lazarus mailing list > [email protected] > http://www.lazarus.freepascal.org/mailman/listinfo/lazarus > -- o__ ,_.>/ _ (_)_\(_)_______ ...speed is good _______________ I believe five out of four people have a problem with fractions.
_______________________________________________ Lazarus mailing list [email protected] http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
