Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Hi Andrew,

On Sun, 2012-03-18 at 16:13 +0000, Andrew Higginson wrote:
I need some advice with sizing of controls and windows on vcl

        :-)

So for the about dialog, currently I am setting its size based on the
width of the user's screen (e.g. 1/3 of the screen)

        ok - could be a bit big on my 1920x1200 32" screen ;-)

Then I am sizing all the controls relative to this, and finally at the
end, checking that they all fit (and if not resize as appropriate)

        Ok ?

What I wanted to ask was, is basing the size of the about dialog on
the size of the screen the best idea? Or should I be doing it another
way, based on the font size for example? 

        Typically, for dialogs - unless they have scrollable content panes that
can use more space - and thus you'd want them to be big; we'd allocate
them at a sensible size, such that the contents fit nicely - often
that's done using font units so it scales reasonably.

        Thanks !

                Michael.

-- 
michael.meeks@suse.com  <><, Pseudo Engineer, itinerant idiot


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.