Community
Participate
Working Groups
Build Identifier: M20110210-1200 The GUI of the ExpandableGroupBox element does not belong to the other elements in Swing. At least the colors are wrong. Reproducible: Always Steps to Reproduce: 1. Add a GroupBox to a search form. 2. Set getConfiguredExpandable = true of the GroupBox 3. Look at the displayed element in swing.
Created attachment 204880 [details] Displayed ExpandableGroupBox
BTW: Please make sure the bugfix will be "look and feel" independent. At the moment a section does not look good with the default "look and feel"s (windows, metal, etc).
Fixed by using the l&f rendering of a button for the section header. When expanded, the button is rendered a little bit higher than normal and cut off at the bottom with nice transparent fade-out. Attached examples of different look and feels with a swing section element.
Created attachment 208823 [details] Examples of Section in various custom look and feel
The color gradient is blue-white and not blue-transparent.
It seems that in synth look and feel sometimes the background color is not correctly adapted from the ui to the view/model. I fixed this by wrapping the section button with a JPanel that should guarantee to not allow dirt in the excess space when expanded. Tested with L&F Nimbus, Orson (a custom metal laf implementation) and Rayo (a custom synth laf implementation)
Test OK
ticket closed. deliverd as part of eclipse scout 3.8.0 (juno release train)