BMenuField: If fixed size always set max content width
When you resize, also set max content width. Create a SetMaxContentWidth() method that includes the margins.
This commit is contained in:
@@ -51,6 +51,7 @@ public:
|
||||
virtual void FrameResized(float width, float height);
|
||||
virtual void MessageReceived(BMessage* msg);
|
||||
virtual void MakeFocus(bool focused = true);
|
||||
virtual void SetMaxContentWidth(float width);
|
||||
|
||||
void TogglePopUpMarker(bool show)
|
||||
{ fShowPopUpMarker = show; }
|
||||
|
||||
Reference in New Issue
Block a user