cbfiddle / Issues

0 stars 0 forks source link

Segmented buttons not recognized #1

Open ghost opened 6 years ago

ghost commented 6 years ago

Was comparing your VAqua with Oracle JDK 8 Aqua. My application used the followig code:

        edtundo.putClientProperty("JButton.buttonType", "segmented");
        edtundo.putClientProperty("JButton.segmentPosition", "first");

And the result in VAqua was:

bildschirmfoto 2018-10-16 um 18 30 20

But I am expecting a result similar to Oracle JDK 8 Aqua:

bildschirmfoto 2018-10-16 um 18 30 52
ghost commented 6 years ago

Now I get them recognized, the putClientProperty branch of the code was not correctly called. But I have still a problem

with their size and spacing. Working on it!

bildschirmfoto 2018-10-16 um 22 24 27
ghost commented 6 years ago

One more small progress. I had a setMargin() in my code. Which was interfering with the size. Now the size is ok.

The spacing is not yet ok.

bildschirmfoto 2018-10-16 um 23 50 12