* 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:
Stephan Aßmus
2007-08-30 22:36:14 +00:00
parent caacab3726
commit 3a38a48561
3 changed files with 30 additions and 17 deletions
+1
View File
@@ -57,6 +57,7 @@ private:
bool fFixedSize;
BMessageRunner *fRunner;
bool fShowPopUpMarker;
float fPreviousWidth;
};
//------------------------------------------------------------------------------