haiku/headers/os/interface
Ryan Leavengood e10de1ecf5 Visually align shortcuts in menus
In a menu, we use the right side both for submenu arrows and shortcuts.
As a result, when an entry has both a shortcut and a submenu, its
shortcut is not aligned with others, and this does not look so nice.

The spacing for the arrow appears only if there is a submenu in any of
the items in the parent menu.

Change-Id: If91fdcdad36abb0141fb05d1f59141f89540c1db
Reviewed-on: https://review.haiku-os.org/c/haiku/+/355
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Reviewed-by: Ryan Leavengood <leavengood@gmail.com>
2020-02-04 23:06:54 +00:00
..
AbstractLayout.h
AbstractLayoutItem.h
AffineTransform.h BAffineTransform: Remove "register" storage class. 2019-02-21 14:03:05 -05:00
Alert.h
Alignment.h
Bitmap.h Package daemon notifications 2017-07-31 19:09:38 +02:00
Box.h Set*UIColor, etc. 2016-01-04 06:48:22 -05:00
Button.h Set*UIColor, etc. 2016-01-04 06:48:22 -05:00
CardLayout.h
CardView.h
ChannelControl.h Set*UIColor, etc. 2016-01-04 06:48:22 -05:00
ChannelSlider.h Set*UIColor, etc. 2016-01-04 06:48:22 -05:00
CheckBox.h Set*UIColor, etc. 2016-01-04 06:48:22 -05:00
ColorControl.h BColorControl: Remove fOffscreenView pointer 2016-03-12 19:14:26 -08:00
Control.h
ControlLook.h BControlLook: Move tab frame drawing into DrawTabFrame() 2019-11-22 23:24:05 +00:00
Deskbar.h Deskbar: Resizable tray 2018-11-04 19:00:49 +00:00
Dragger.h
Font.h Implementation of BFont::Blocks 2017-05-08 22:17:53 +02:00
Gradient.h
GradientConic.h
GradientDiamond.h
GradientLinear.h
GradientRadial.h
GradientRadialFocus.h
GraphicsDefs.h GraphicsDefs: Revert back to casting structs to integers to compare them. 2017-12-02 17:36:20 -05:00
GridLayout.h
GridLayoutBuilder.h
GridView.h
GroupLayout.h
GroupLayoutBuilder.h
GroupView.h
IconUtils.h
Input.h
InterfaceDefs.h Nuke COMPILE_FOR_R5. 2017-11-15 17:52:27 +01:00
Layout.h
LayoutBuilder.h Set*UIColor, etc. 2016-01-04 06:48:22 -05:00
LayoutContext.h
LayoutItem.h
LayoutUtils.h
ListItem.h
ListView.h BListView: Cleanup, no functional change. 2016-12-25 16:16:43 -05:00
Menu.h Visually align shortcuts in menus 2020-02-04 23:06:54 +00:00
MenuBar.h BMenuBar & Deskbar: Make the hack to call ShowMenuBar a lot less ugly. 2019-06-17 11:49:48 +00:00
MenuField.h Fix more class/struct mixups. 2017-12-02 22:24:06 -05:00
MenuItem.h Visually align shortcuts in menus 2020-02-04 23:06:54 +00:00
OptionControl.h Set*UIColor, etc. 2016-01-04 06:48:22 -05:00
OptionPopUp.h Set*UIColor, etc. 2016-01-04 06:48:22 -05:00
OutlineListView.h Set*UIColor, etc. 2016-01-04 06:48:22 -05:00
Picture.h
PictureButton.h Set*UIColor, etc. 2016-01-04 06:48:22 -05:00
Point.h
Polygon.h
PopUpMenu.h
PrintJob.h PrintJob: make struct print_file_header packed. 2017-07-31 17:11:53 +02:00
RadioButton.h Set*UIColor, etc. 2016-01-04 06:48:22 -05:00
Rect.h
Region.h
Screen.h Style fix: parameters should have a name. 2017-11-21 12:19:56 +01:00
ScrollBar.h Revert "BScrollBar: Add lines and dots knob styles to scroll bar" 2018-07-22 18:26:06 +00:00
ScrollView.h BScrollView: Resize scrollbars dynamically based on target's B_SUPPORTS_LAYOUT... 2019-01-27 14:35:32 -05:00
SeparatorItem.h
SeparatorView.h
Shape.h
Shelf.h
Size.h
Slider.h Slider: Style fixes 2016-03-22 12:00:36 -07:00
SpaceLayoutItem.h
SplitLayoutBuilder.h
SplitView.h Set*UIColor, etc. 2016-01-04 06:48:22 -05:00
StatusBar.h Set*UIColor, etc. 2016-01-04 06:48:22 -05:00
StringItem.h
StringView.h BStringView: add support for multiline strings 2018-11-03 16:44:10 +00:00
TabView.h BTabView: Change layout constructor to default to B_WIDTH_FROM_WIDEST. 2019-01-24 18:52:39 +00:00
TextControl.h Set*UIColor, etc. 2016-01-04 06:48:22 -05:00
TextView.h TextView: add shortcuts for wordwise delete 2019-07-14 14:14:39 +00:00
TwoDimensionalLayout.h
UnicodeBlockObjects.h Implementation of BFont::Blocks 2017-05-08 22:17:53 +02:00
View.h app_server: Add tiled bitmap drawing routines 2019-12-09 12:22:28 +00:00
Window.h Revert "BWindow: CenterOnScreen a bit above center" 2017-01-01 12:25:05 -08:00