Improved alignment of ribbon band content in Flamingo 5.0

April 17th, 2010 | 4 Comments »

I’ve spend the last few days pushing a few pixels improving the alignment of ribbon band controls in the latest Flamingo 5.0dev. This is how it looked before:

https://flamingo.dev.java.net/release-info/5.0/ribbon-button-alignment-old.png

And this is how it looks now:

https://flamingo.dev.java.net/release-info/5.0/ribbon-button-alignment-new.png

Main improvements:

  • Equal amount of horizontal white space around the controls
  • Equal amount of vertical white space between the buttons
  • Aligning bottom edges of controls across columns

The change is in Flamingo 5.0dev only, so you can still use the final 6.0 releases of Substance core and Substance Flamingo plugin. There’s also a matching test case using the excellent FEST library. Thanks to Ivan for pointing this out and testing the fixes.


Related posts:

  1. Flamingo ribbon component: minimizing the ribbon The latest addition in the Flamingo component suite is support for minimizing the ribbon. This...
  2. Right-to-left support for the ribbon in Flamingo 5.0 The latest 5.0dev drop of the Flamingo library (code-named Imogene) provides full right-to-left (RTL) support...
  3. Flamingo ribbon component: small buttons in ribbon galleries As mentioned in the JavaOne presentation on the Flamingo ribbon component, there are a few...
  4. Flamingo ribbon component: support for core Swing components The latest addition in the Flamingo component suite is support for core Swing components. This...


4 Comments on “Improved alignment of ribbon band content in Flamingo 5.0”

  1. 1 Pedro Duque Vieira said at 9:06 am on April 18th, 2010:

    Very nice kirill!
    :)

    The evil is in the details :)

  2. 2 Iván Ridao said at 12:36 pm on April 18th, 2010:

    So, I suppose that this time I am the evil :).

    Thanks Kirill for answering and also for referring me!

    Regards!

  3. 3 Java desktop links of the week, April 19 | Jonathan Giles said at 1:34 pm on April 18th, 2010:

    [...] to not disappoint, Kirill has also been pushing pixels on Flamingo 5.0dev, improving the alignment of content. It’s the small tweaks like this that [...]

  4. 4 rom1dep said at 7:34 am on April 19th, 2010:

    Hello !
    That’s much better like that !
    Now that a one-pixel-border is the rule (up and down) why not generalizing it to the horizontal alignment ? It’s strange to have a 2px then a 3px spacing, maybe could 1px – 3px be better (or 2px – 2px but that breaks the “3px-uniformity inside the tab”) ?
    The picture explains better :
    http://zouzoute.homelinux.org/~rom1dep/Share/artwork/border.png
    Anyway, nice job !