]> Pileus Git - ~andy/gtk/commit
Fixed GtkLabel reported minimum and natural sizes
authorTristan Van Berkom <tristan.van.berkom@gmail.com>
Sun, 18 Apr 2010 02:54:29 +0000 (22:54 -0400)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Sun, 18 Apr 2010 02:54:29 +0000 (22:54 -0400)
commit64e23c42bdc107084b60647c4167f07f8e0f5a13
tree524e3f4adfcc399346505ad5befa36c97a8497a7
parent8b57ad94c0e8fb09de4dcde71c53e57fef55299f
Fixed GtkLabel reported minimum and natural sizes

This commit makes GtkLabel use "max-width-chars" to determine the
desired natural width for wrapping labels as well as all around refactoring
the initially reported values in get_desired_width/height. this also
addresses some issues with rotating ellipsizing text.
gtk/gtk.symbols
gtk/gtklabel.c
gtk/gtklabel.h