interesting discussion on the topic:

"<cosimoc>      Company, I seem to have found a weird size request bug between 
GtkLabel and GtkTable
<cosimoc>       Company, apparently if wrap is set on the label, GtkTable 
always uses its minimum size or something
<Company>       so GtkTable doesn't do width-for-height?
<Company>       that's a symptom of using gtk_widget_get_preferred_size() on a 
label
<cosimoc>       avoiding setting wrap "fixes" that
<Company>       i suppose nobody ever fixed GtkTable
<Company>       quickfix: use GtkGrid instead
<cosimoc>       I was hoping for quickfix: Company knows the problem and fixes 
GtkTable! :P
<Company>       indeed, GtkTable fucks everything up
<Company>       it uses get_preferred_size exclusively
<Company>       which mins it uses min-width x min-height-for-min-width
<Company>       which for wrapping labels is one word per line
<Company>       i'm not gonna fix it in any way apart from deprecating GtkTable
<Company>       mclasen_: opinion on deprecating GtkTable for 3.2?
<mclasen_>      the fix for gtktable is gtkgrid, as far as I'm concerned"

** Changed in: gtk+3.0 (Ubuntu)
   Importance: Undecided => Low

** Changed in: gtk+3.0 (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/825173

Title:
  spacing issues with GtkTable in gtk3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/825173/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to