Insubstantial / insubstantial

Swing look-and-feel library and assorted widgets
193 stars 57 forks source link

Play "Hide the Caption" when context tab groups get in the way #5

Closed shemnon closed 13 years ago

shemnon commented 13 years ago

Right now the caption text of a substance ribbon frame is always between the QAT and the context menu groupings. We need to play "hide the caption" like is seen in Office and the scenic ribbon. Basically there are four priorities

  1. between the QAT and Context Group if the caption fits completely
  2. between the Context Group and the window controls if it fits untrimmed
  3. as #2, if it is larger than #1, but with the text trimmed.
  4. in area #1, trimmed.