Positioning vcl Controls
Jan Holesovsky
kendy at suse.cz
Thu Mar 8 04:00:33 PST 2012
Hi Andrew,
On 2012-03-07 at 12:28 +0000, Andrew Higginson wrote:
> I am working on the about dialog and because the changes are quite
> large, I am pretty much doing the positioning of all controls in the
> dialog from scratch.
>
> So I wanted to ask what is the best way to do this as I can see two main ways:
> * Positioning them using MAP_APPFONT() and the Pos attribute in the .src file
> or
> * Doing it dynamically in the cxx file with SetPos
If you don't need any dynamic layouting, use the .src file; that way,
the transition to...
> However I also saw in the slides from FOSDEM that some work is being
> done to make laying out easier, with Boxes and Grids.
...this will be easier when it hits master.
Regards,
Kendy
More information about the LibreOffice
mailing list