getSizeHint() vs getBounds()

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

getSizeHint() vs getBounds()

Dave Baggett
How do the values returned by getSizeHint() differ from getBounds().width and getBounds().height?

Dave
Reply | Threaded
Open this post in threaded view
|

Re: getSizeHint() vs getBounds()

Fabian Jakobs
Administrator
Hi Dave,
> How do the values returned by getSizeHint() differ from getBounds().width and
> getBounds().height?
>    
Size hint returns the preferred size of the widget. The size hints plus
the layout properties of all widgets are uses to compute the actual
sizes of each widget. getBounds returns the size computed by the layout
engine (i.e. the size on screen).

Best Fabian



--
Fabian Jakobs
JavaScript Framework Developer

1&1 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
[hidden email]

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel