* fixed size layout of BMenuBar on BMenuField in fixed size mode
(needs to account for the parts that the BMenuField draws, ie the shadow on the right) * fixed follow mode of BMenuBar in fixed size mode (B_FOLLOW_LEFT_RIGHT) * don't resize the BMenuField in fixed size mode (endless loop), this should be more robust anyways, since this endless loop would be triggered if an application tried to manually resize menuField->MenuBar() in auto resizing mode * fixed calculation of the parts that need to be redrawn on resize git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22127 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -57,6 +57,7 @@ private:
|
||||
bool fFixedSize;
|
||||
BMessageRunner *fRunner;
|
||||
bool fShowPopUpMarker;
|
||||
float fPreviousWidth;
|
||||
};
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user