b321303cf9
* Reworked the internal layout. _ValidateLayoutData() computes and caches the layout related data and all other methods just use those values. Now, in layout-aware mode the class should properly work not only when using the layout items. And when using layout items, the class does actually do internal layout; it was basically good luck that it worked in the tests, before. Vertical resizing is supported, too. * We do a few mean tricks to get the probably mostly preferred layout behavior: By default our own explicit max width and that of the menu bar layout item is set to unlimited and the horizontal menu bar alignment to left aligned. This allows to horizontally resize a BMenuField beyond its preferred size, although both label and menu bar have a limited max width. The user can, of course, override those explicit sizes/alignments to get a different behavior, if desired. * Fixed invalidation in SetDivider(). When having the focus, the left and top border of the blue frame were not invalidated. * The label is no longer drawn at vertical position font ascent + descent + leading + 2 (not sure how this calculation was supposed to work), but vertically centers the label around the ascent. With big fonts the label is shown a bit too far to the bottom. Not sure how to fix this in a generic way. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21466 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
||
---|---|---|
.. | ||
add-ons | ||
app | ||
arch | ||
be_apps | ||
device | ||
drivers | ||
game | ||
interface | ||
kernel | ||
media | ||
midi | ||
midi2 | ||
net | ||
opengl | ||
storage | ||
support | ||
translation | ||
AppKit.h | ||
Be.h | ||
BeBuild.h | ||
DeviceKit.h | ||
GameKit.h | ||
InterfaceKit.h | ||
KernelKit.h | ||
MailKit.h | ||
MediaKit.h | ||
MidiKit.h | ||
NetKit.h | ||
NetworkKit.h | ||
OpenGLKit.h | ||
StorageKit.h | ||
SupportKit.h | ||
TranslationKit.h |