Re: GTK 3 support status



On 12/04/2011 04:02 AM, Emmanuele Bassi wrote:
the status is always the same: bugs reported will be looked at by the
gtk maintainers depending on time.

So the status at this moment is that no developers have time to look at bugs reported by application developers. Or is there something wrong with my report in particular?

the source of the issue is that gtk3 does not allow widget
underallocations, unlike gtk2. underallocations were a huge source of
edge cases, code complexity, and nasty bugs in gtk2 and when the time
came to review the size negotiation implementation, and add support
for height-for-width and width-for-height, keeping support for
underallocations would have made the code balloon out of the
maintainership capabilities of the gtk team - as well as introduce new
and exciting bugs. this is why setting the minimum size using
set_size_request() will not work in your case: the label's minimum
size is bigger than the size you requested.

long story short: if you want to set the minimum size on a label you
can do it with the set_width_chars() method:

   http://developer.gnome.org/gtk3/stable/GtkLabel.html#gtk-label-set-width-chars

Thank you for the suggestion. Unfortunately, when I tried it just now, that method also no longer works in GTK+ 3.x. Accordingly, I have reported this problem also: https://bugzilla.gnome.org/show_bug.cgi?id=665560

-- John



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]