Eric Cashon via gtk-app-devel-list <gtk-app-devel-list@gnome.org> wrote:
> 
>  
> Hi Chris,
> 
> Try getting the font height and base the textview height on that. If you 
> use the font ascent you might have to pad it a little but it should give 
> you a consistent value to size your textviews with based on font size. 
> 
> 
OK, thanks (and thanks for the sample code too).

I'm surprised that there's no easier way of doing it but if there
isn't then that's just the way it is I suppose.

-- 
Chris Green
ยท

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to