#8900: Design of Contextmenu
------------------------------+----------------------------
Reporter: Morbid | Owner: leavengood
Type: enhancement | Status: assigned
Priority: normal | Milestone: R1
Component: User Interface | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: x86
------------------------------+----------------------------
Comment (by leavengood):
The patch is 404 on Gerrit now. No big deal, the menu code has changed
quite a bit since the patch. I see the places that need to change to
reproduce it.
Doing what Axel suggested (only shift things over if there are submenus)
is kind of a pain because menu items would need to know if any other menu
items have a submenu to adjust where they render their shortcut symbol. So
as far as I know they would have to query up to their parent to ask and
the parent might want to cache that knowledge. But we are sort of running
out of room in BMenu, though it is full of crufty booleans that I don't
think we need anymore, so I could maybe repurpose one.
I personally would not mind just always moving things over so menus are
always consistent, which is basically what the simple version of this
change does.
--
Ticket URL: <https://dev.haiku-os.org/ticket/8900#comment:21>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.