[Gambas-user] glitch with gtk ListView.ShowCheck checkbox's rendering

Benoît Minisini benoit.minisini at gambas-basic.org
Tue Dec 19 14:37:28 CET 2023


Le 19/12/2023 à 14:19, Bruce Steers a écrit :
> I had this somewhere else (cannot remember where) but i noticed ListView 
> suffers the same glitch when rendering check box's.  the right seems to 
> be chopped.
> 
> i tried modifying the gtk theme but it's still the same..
> 
> (see pic)
> 
> Respects
> BruceS
> 

To render a checkbox with GTK+, you give a rectangle that normally 
should define the size of the checkbox.

Alas, most of GTK+ themes use fixed size images to draw checkboxes (and 
radiobuttons), so the result is either a cropped checkbox, either a too 
small one.

Regards,

-- 
Benoît Minisini.



More information about the User mailing list