* Don't set an explicit max size, instead calculate a proper max size in

MaxSize(). This makes sure that MaxSize() returns a proper size when the
  user "unsets" the explicite max size.
* minimum label height is 0 if there is no label.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27583 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2008-09-16 10:45:27 +00:00
parent 10d8f3749e
commit 08edea662b
2 changed files with 14 additions and 8 deletions
+1 -1
View File
@@ -93,7 +93,7 @@ class BMenuField : public BView {
protected:
virtual void DoLayout();
private:
private:
class LabelLayoutItem;
class MenuBarLayoutItem;
struct LayoutData;