Community
Participate
Working Groups
Composite#minimumSize() relies on the assumption that the clientArea starts at (0, 0), which is not the case on all platforms. If the clientArea has an offset, this offset is currently added to the result of Composite#minimumSize().
Created attachment 185622 [details] A snippet that demonstrates the problem On GTK/Linux, this snippet leaves some empty space below the button, because on GTK the Group's client area has an offset.
Created attachment 185623 [details] Screenshot of the snippet on GTK/Linux
Created attachment 185624 [details] Patch that solves the problem
Silenio, the proposed change makes sense to me. Do you see any problems with it ? Note that all platforms will need the same change. In fact, I tested the on Windows 7 where the same problem occurs without the patch.
Fixed in HEAD Thank you Ralf