Page MenuHome

UI: Improve Modifier Panel Header Menu
ClosedPublic

Authored by Hans Goudey (HooglyBoogly) on Jun 15 2020, 11:47 PM.

Details

Summary

This improves the modifier header menu in a few ways:

  1. Adds "move to top" and "move to bottom" buttons.
  2. Adds a checkmark icon for "apply"
  3. Makes it narrower, the text is closer to the dropdown icon.

This does not do a few other things:

  1. Add shortcuts to the menu (see D8031)
  2. Change the header layout (see D8037)
  3. Add "move up one" and "move down one" buttons. I don't believe this is worth the space they take up for the vast majority of people. Dragging up and down one is quite easy, especially with the new region scrolling.

I had to fix a little issue with the max width for menus for the narrower menu to work.

Diff Detail

Repository
rB Blender

Event Timeline

Hans Goudey (HooglyBoogly) requested review of this revision.Jun 15 2020, 11:47 PM
Hans Goudey (HooglyBoogly) created this revision.
This revision is now accepted and ready to land.Jun 16 2020, 5:30 AM

Great! Only remark is that I'd add a separator before the sorting operators (Move up/down), to have a clear distinction from the modifier operators (Duplicate, Apply, etc).

  • Use layout context for move_to_index
  • Add a spacer
This revision was automatically updated to reflect the committed changes.