BMenu: Add default padding to ctor
This commit is contained in:
@@ -251,6 +251,7 @@ BMenu::BMenu(const char* name, float width, float height)
|
|||||||
:
|
:
|
||||||
BView(BRect(0.0f, 0.0f, 0.0f, 0.0f), name, 0, B_WILL_DRAW),
|
BView(BRect(0.0f, 0.0f, 0.0f, 0.0f), name, 0, B_WILL_DRAW),
|
||||||
fChosenItem(NULL),
|
fChosenItem(NULL),
|
||||||
|
fPad(14.0f, 2.0f, 20.0f, 0.0f),
|
||||||
fSelected(NULL),
|
fSelected(NULL),
|
||||||
fCachedMenuWindow(NULL),
|
fCachedMenuWindow(NULL),
|
||||||
fSuper(NULL),
|
fSuper(NULL),
|
||||||
|
|||||||
Reference in New Issue
Block a user