Compound buttons are not displayed correctly in Compact Ribbons

Issue #35 resolved
Bruce Schubert created an issue

Issue

Only the top half (the default button) is displayed, the lower half (popup menu) is hidden and thus unavailable.

Solutions

  • Display the lower-half instead of the top-half. That way all of the functionality of the button is available, albeit not as convenient.
  • Use smaller icons (see also #31) to compose a compound button in a reduced height ribbon.

Comments (11)

  1. Bruce Schubert reporter

    TODO: investigate dividing the compound button into two separate (side-by-side) buttons.

  2. Chris Heidt

    Demoted to minor since Terramenta itself is not using any compound buttons. Still an issue though since we want this capability to be available for module development.

  3. Bruce Schubert reporter

    Working on it. Will investigate using RibbonPreferences as a vehicle for providing a hint to the RibbonComponentFactory for handling compound buttons.

  4. Bruce Schubert reporter

    In a compact ribbon configured to "disallow" compound buttons, only the Popup sub-menu will be displayed. For example:

    compound-button.png

  5. Bruce Schubert reporter

    Added the allowCompoundButtons RibbonPreference and set it to false for compact ribbons. If false, only the popup portion of the compound button will be displayed in the ribbon band.

    See: a2b2c73

  6. Log in to comment