Move kMinMenuBarWidth to MenuField.cpp
This commit is contained in:
@@ -17,8 +17,6 @@
|
|||||||
|
|
||||||
|
|
||||||
static const float kVMargin = 2.0f;
|
static const float kVMargin = 2.0f;
|
||||||
static const float kMinMenuBarWidth = 20.0f;
|
|
||||||
// found by experimenting on BeOS R5
|
|
||||||
|
|
||||||
|
|
||||||
class BMessageRunner;
|
class BMessageRunner;
|
||||||
|
|||||||
@@ -132,6 +132,10 @@ struct BMenuField::LayoutData {
|
|||||||
// #pragma mark -
|
// #pragma mark -
|
||||||
|
|
||||||
|
|
||||||
|
static const float kMinMenuBarWidth = 20.0f;
|
||||||
|
// found by experimenting on BeOS R5
|
||||||
|
|
||||||
|
|
||||||
BMenuField::BMenuField(BRect frame, const char* name, const char* label,
|
BMenuField::BMenuField(BRect frame, const char* name, const char* label,
|
||||||
BMenu* menu, uint32 resizingMode, uint32 flags)
|
BMenu* menu, uint32 resizingMode, uint32 flags)
|
||||||
:
|
:
|
||||||
|
|||||||
Reference in New Issue
Block a user