FedoraQt / adwaita-qt

A style to bend Qt applications to look like they belong into GNOME Shell
Other
488 stars 48 forks source link

Fix QSlider centering inside own container #185

Closed polter-rnd closed 1 year ago

polter-rnd commented 1 year ago

Fix centering algorithm to work the same way as in Fusion style.

Fixes #184

image

grulja commented 1 year ago

Can you add an example into the src/demo/showcase so it's let's say covered and next time not omitted when doing some changes?

polter-rnd commented 1 year ago

I've set size policy to all sliders to Expanding so their containers will comsume more space than the slider itself. Now you can see that difference before/after the fix.