[Gambas-user] gridview sort indicator

bb adamnt42 at gmail.com
Thu Jan 6 09:03:17 CET 2022


On Wed, 2022-01-05 at 17:58 +0100, Benoît Minisini wrote:
> 
> The indicator is drawn using the toolkit theme drawing routine for 
> arrows. You give this routine an arrow orientation and a rectangle
> box 
> where the arrow should be drawn.
> 
> Alas some widget themes partially ignore the rectangle box and you
> get a 
> truncated arrow.
> 
> Maybe I should draw a simple arrow and not use the widget theme
> drawing 
> routine.
> 
> Regards,
> 
If, by toolkit, you mean the GUI then I don't think this is the real
(or single) source of the problem. Here I get the truncated indicator
in both Qt5 and GTK's. 
Also, fonts dont seem to make any difference.
It seems to me that perhaps there is a desktop theme thing involved
here. But that makes little sense.
So, I'd advocate for your "simple arrow" approach, just to see if that
helps. As BruceS suggests, getting away from the vaguaries of themes
here there and everywhere may make this kind of stuff align more to
expectations.

b



More information about the User mailing list