wiki:toolbar-unification

Version 4 (modified by Elaine Meng, 7 years ago) ( diff )

--

Toolbar and button bar unification

Currently have button farm. And will only have more buttons in the future.

  • Will want a bundle_info.xml way of listing the buttons provided by a bundle
  • May also want to be able to dynamically add/remove buttons?
  • Need way to disable/enable buttons so the usable buttons can be context sensitive (eg., mouse modes)

Prototype with Roger Pincombe's Office 2010 Style Ribbon Toolbar in HTML/CSS/JS

  • buttons are hardcoded into section
  • remove text hints with context menu
  • balloon help for icons
  • have to patch to fix size/location/color of balloon help
  • not updated since 2011 (except README.md)

Bugs / Enhancements

  • section text that has letters with descenders have the descenders clipped
  • want colors to match Qt UI elements
  • icons should have transparent backgrounds
  • hintless version should resize to lower height
  • should hintless version (optionally?) have 2 rows of smaller buttons?

Reactions/Feedback

Eric

  • Esthetically very clean looking
  • On Mac, too tall by about 50%
    • 1/8" blank space above tabs
    • 1/4" blank between bottom of icon text and top of category text
  • Non-full scrollbar on right even though there is nothing to scroll
  • As mentioned in bugs, "hintless" version is the same size, even after restarting
  • Icons differ in size between "hinted" and hintless version, which may be okay if intentional
  • Undo/Redo should be on the right, not left, since they are infrequent actions
  • How do icons get into a Home/Favorites category?

Elaine

  • icon text should match current icon balloon help for mouse modes and most other icons (possible exception for those in show/hide and background groupings)
  • categorizations need adjusting
  • startup should not assume which "classical" toolbars are shown or not shown
  • not all icons work, some give tracebacks (3/5/2019)
Note: See TracWiki for help on using the wiki.