Resize menu field if below minimum width in auto-size mode

... cancelling the normal item truncation behavior.
This funcationality comes from BeOS R5, we need to reproduce it for
backwards compat. KeymapSwitcher depends on it at least.

Minimum width is 20px, was set in last commit, comes from BeOS R5.
This commit is contained in:
John Scipione
2013-05-30 00:05:16 -04:00
parent 6031e62420
commit a1cf3ead5f
3 changed files with 16 additions and 3 deletions
-1
View File
@@ -19,7 +19,6 @@
static const float kVMargin = 2.0f;
static const float kMinMenuBarWidth = 20.0f;
// found by experimenting on BeOS R5
static const float kPopUpIndicatorWidth = 13.0f;
class BMessageRunner;