andlabs / libui

Simple and portable (but not inflexible) GUI library in C that uses the native GUI technologies of each platform it supports.
Other
10.72k stars 614 forks source link

Selecting a colored table row on macOS #406

Open mischnic opened 6 years ago

mischnic commented 6 years ago

Selecting a colored row leaves a stripe of the background color at the bottom edge. Also, the button should have a little bit more margin.

bildschirmfoto 2018-08-09 um 12 52 50 bildschirmfoto 2018-08-09 um 12 52 52

andlabs commented 6 years ago

I don't know why that happens. Will need to find out if that's normal or not.

mischnic commented 6 years ago

Here, the buttons look particularly bad. I don't think their color should be alternating like the background color.

bildschirmfoto 2018-09-25 um 18 52 33

andlabs commented 6 years ago

The buttons are indeed transparent; IIRC I picked that particular style since it was what was used on tables before the Yosemite restyle, and I'm not sure if there is a more appropriate style now. Also not sure why the height is wrong.

mischnic commented 6 years ago

The only example I could find in macOS' native UI (iCloud settings), the buttons all have the same color: bildschirmfoto 2018-09-25 um 21 13 27