Searched hist:"1 c95f72222f766079af3183ab490e42506f5feca" (Results 1 – 3 of 3) sorted by relevance
/haiku/headers/private/interface/ |
H A D | BMCPrivate.h | 1c95f72222f766079af3183ab490e42506f5feca Fri Jun 07 07:25:36 UTC 2013 John Scipione <jscipione@gmail.com> Don't set MaxContentWidth on the menu bar of a BMenuField
Fixes #9816
It is no longer necessary, or even desirable for us to set the max content width of the menu bar of a BMenuField now that BMenuItem truncation and BMenuField sizing are working.
The user may, however, wish to set the max content width of the menu bar of a BMenuField themselves like so:
menuField->MenuBar()->SetMaxContentWidth(width);
and the Interface Kit will automatically deduct the left and right margins from the width including the space used by the drop down arrow.
|
/haiku/src/kits/interface/ |
H A D | BMCPrivate.cpp | 1c95f72222f766079af3183ab490e42506f5feca Fri Jun 07 07:25:36 UTC 2013 John Scipione <jscipione@gmail.com> Don't set MaxContentWidth on the menu bar of a BMenuField
Fixes #9816
It is no longer necessary, or even desirable for us to set the max content width of the menu bar of a BMenuField now that BMenuItem truncation and BMenuField sizing are working.
The user may, however, wish to set the max content width of the menu bar of a BMenuField themselves like so:
menuField->MenuBar()->SetMaxContentWidth(width);
and the Interface Kit will automatically deduct the left and right margins from the width including the space used by the drop down arrow.
|
H A D | MenuField.cpp | 1c95f72222f766079af3183ab490e42506f5feca Fri Jun 07 07:25:36 UTC 2013 John Scipione <jscipione@gmail.com> Don't set MaxContentWidth on the menu bar of a BMenuField
Fixes #9816
It is no longer necessary, or even desirable for us to set the max content width of the menu bar of a BMenuField now that BMenuItem truncation and BMenuField sizing are working.
The user may, however, wish to set the max content width of the menu bar of a BMenuField themselves like so:
menuField->MenuBar()->SetMaxContentWidth(width);
and the Interface Kit will automatically deduct the left and right margins from the width including the space used by the drop down arrow.
|