Re: GTK 3 support status
- From: tristan van berkom gmail com
- To: Andrew Cowie <andrew operationaldynamics com>
- Cc: "gtk-app-devel-list gnome org" <gtk-app-devel-list gnome org>
- Subject: Re: GTK 3 support status
- Date: Tue, 06 Dec 2011 12:53:38 -0000
On 2011-12-06, at 8:12 PM, Andrew Cowie <andrew operationaldynamics com> wrote:
On Tue, 2011-12-06 at 17:47 +0900, Tristan Van Berkom wrote:
gtk_widget_set_size_request() should still succeed with the expected behaviour
of setting the minimum size of a widget,
So, does it do so for GtkLabel? ie, is it acceptable to call it?
[this thread has become a bit confusing]
Yes, gtk_widget_set_size_request() will
set the minimum size for a label, as it
will for any widget.
Don't confuse that with limiting a widget's size,
a label will request a minimum size based on
it's content and configuration, it may require more
width than the explicit minimum size set by the
user.
A widget's size can only be limited by limiting
what content will be displayed inside it (for label
widgets this is done using width-chars/max-width-chars
in conjunction with ellipsizing/wrapping).
Cheers,
-Tristan
AfC
Sydney
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]