[Gtk2] autosize question
Henry Vermaak
henry.vermaak at gmail.com
Tue Dec 8 18:15:22 CET 2009
Hi gtk2 list
I realised today that the lcl doesn't react very well if you change
the size of the system font. Autosized controls should react by
invalidating and re-computing their size. I thought the best place to
do this is GTKStyleChanged (using the style-set signal). It should be
really simple, like calling InvalidatePreferredSize or something, but
I can't get it to work (except if I call
gtk_widget_set_size_request(widget, -1, -1), but I doubt if that's the
best thing to do). Can someone give me any hints, please?
Henry
More information about the Gtk2
mailing list