[gtk+] Adjusted new documentation for GtkSizeGroup.
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Adjusted new documentation for GtkSizeGroup.
- Date: Tue, 14 Sep 2010 19:49:20 +0000 (UTC)
commit 2ee532645f38efa271daf4e6df9e33a98e710790
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date: Wed Sep 15 04:51:36 2010 +0900
Adjusted new documentation for GtkSizeGroup.
docs/reference/gtk/tmpl/gtksizegroup.sgml | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/docs/reference/gtk/tmpl/gtksizegroup.sgml b/docs/reference/gtk/tmpl/gtksizegroup.sgml
index 4d6329f..35b57b9 100644
--- a/docs/reference/gtk/tmpl/gtksizegroup.sgml
+++ b/docs/reference/gtk/tmpl/gtksizegroup.sgml
@@ -51,7 +51,13 @@ will be allocated in one dimension, it cannot derive how much height
a widget will receive for a given width). When grouping widgets that
trade height for width in mode %GTK_SIZE_GROUP_VERTICAL or %GTK_SIZE_GROUP_BOTH:
the height for the minimum width will be the requested height for all
-widgets in the group.
+widgets in the group. The same is of course true when horizontally grouping
+width for height widgets.
+</para>
+<para>
+Widgets that trade height-for-width should set a reasonably large minimum width
+by way of GtkLabel:width-chars for instance. Widgets with static sizes as well
+as widgets that grow (such as ellipsizing text) need no such considerations.
</para>
<refsect2 id="GtkSizeGroup-BUILDER-UI">
<title>GtkSizeGroup as GtkBuildable</title>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]