Re: Minimum height for minimum width

2010-10-11 Thread Tristan Van Berkom
Sigh, alright can of worms open. Not sure exactly where to start here but lets keep in mind that of course, any window must fit all of its screen content at all times, that's not to say that it requires the minimum-height-for-minimum-width at all times, but only when it's allocated it's minimum w

[REMINDER] GTK+ Team Meeting, 2010-10-12

2010-10-11 Thread Emmanuele Bassi
hi everyone; this is a reminder that the next GTK team meeting is scheduled for: Tuesday, October 12th, 2010 @ 20:00 UTC http://www.timeanddate.com/worldclock/fixedtime.html?day=12&month=10&year=2010&hour=20&min=0&sec=0&p1=0 channel: #gtk-devel on irc://irc.gnome.org agenda: • magic expand

Re: GtkGroupBox and layout ideas for Gtk3

2010-10-11 Thread Matthias Clasen
On Sun, Oct 10, 2010 at 8:32 PM, Havoc Pennington wrote: > Hi, > > On Sun, Oct 10, 2010 at 4:57 PM, Alexander Larsson wrote: >> First of all, what happened to Bug 628902 "Add expand flags to >> GtkWidget". It seems to have stalled. This would be very useful. >> > > The latest code is on widget-ex

Re: Minimum height for minimum width

2010-10-11 Thread Havoc Pennington
Hi, On Mon, Oct 11, 2010 at 3:30 PM, Owen Taylor wrote: > Setting the hints dynamically based on the current width can work, if > we're willing to say "screw wireframe resizing" (wireframe resizing > doesn't completely *not* work, you just have to release and retry > a few times to get to certain

Re: Minimum height for minimum width

2010-10-11 Thread Owen Taylor
On Mon, 2010-10-11 at 14:45 -0400, Havoc Pennington wrote: > Agreed, GtkLabel needs to report min size = true min sane size and > natural size = either full width, or "a good width" > The full width is more correct imo, maybe we should figure out why > that doesn't work well. For an ellipsized lab

Re: Minimum height for minimum width

2010-10-11 Thread Havoc Pennington
Agreed, GtkLabel needs to report min size = true min sane size and natural size = either full width, or "a good width" The full width is more correct imo, maybe we should figure out why that doesn't work well. A related patch attached, if you fix this you'll quickly want it. Also, you said if doi

Minimum height for minimum width

2010-10-11 Thread Owen Taylor
When we are doing height-for-width layout, sometimes we get a situation where we have a height-for-width object in a context that doesn't support height-for-with-layout. Examples: A) The height-for-width contents of a GtkWindow. X doesn't support height-for-width layout, the window hints are

Re: GtkSpreadTable ('spread-table' branch)

2010-10-11 Thread Tristan Van Berkom
On Mon, 2010-10-11 at 13:01 +0200, Murray Cumming wrote: > On Mon, 2010-10-11 at 19:48 +0900, Tristan Van Berkom wrote: > > On Mon, 2010-10-11 at 11:04 +0200, Murray Cumming wrote: > > > On Fri, 2010-10-08 at 23:31 +0900, Tristan Van Berkom wrote: > > > > For what its worth I finally applied this a

Re: possible removal of GtkWrapBox

2010-10-11 Thread Tristan Van Berkom
On Mon, 2010-10-11 at 13:04 +0200, Murray Cumming wrote: > On Mon, 2010-10-11 at 19:54 +0900, Tristan Van Berkom wrote: > > On Mon, 2010-10-11 at 11:06 +0200, Murray Cumming wrote: > > > On Thu, 2010-10-07 at 12:36 +0900, Tristan Van Berkom wrote: > > > > Furthermore, the gimp's newer versions is n

Re: possible removal of GtkWrapBox

2010-10-11 Thread Murray Cumming
On Mon, 2010-10-11 at 19:54 +0900, Tristan Van Berkom wrote: > On Mon, 2010-10-11 at 11:06 +0200, Murray Cumming wrote: > > On Thu, 2010-10-07 at 12:36 +0900, Tristan Van Berkom wrote: > > > Furthermore, the gimp's newer versions is now using GtkToolPalette > > > in place of the older wrap-box (the

Re: GtkSpreadTable ('spread-table' branch)

2010-10-11 Thread Murray Cumming
On Mon, 2010-10-11 at 19:48 +0900, Tristan Van Berkom wrote: > On Mon, 2010-10-11 at 11:04 +0200, Murray Cumming wrote: > > On Fri, 2010-10-08 at 23:31 +0900, Tristan Van Berkom wrote: > > > For what its worth I finally applied this algorithm > > > to the 'spread-table' branch. > > > > > > In the

Re: possible removal of GtkWrapBox

2010-10-11 Thread Tristan Van Berkom
On Mon, 2010-10-11 at 11:06 +0200, Murray Cumming wrote: > On Thu, 2010-10-07 at 12:36 +0900, Tristan Van Berkom wrote: > > Furthermore, the gimp's newer versions is now using GtkToolPalette > > in place of the older wrap-box (the gimp had been using a similar > > wrap-box widget to wrap items arou

Re: GtkSpreadTable ('spread-table' branch)

2010-10-11 Thread Tristan Van Berkom
On Mon, 2010-10-11 at 11:04 +0200, Murray Cumming wrote: > On Fri, 2010-10-08 at 23:31 +0900, Tristan Van Berkom wrote: > > For what its worth I finally applied this algorithm > > to the 'spread-table' branch. > > > > In the case that the trailing columns get no > > widgets, one widget is placed i

Re: possible removal of GtkWrapBox

2010-10-11 Thread Murray Cumming
On Thu, 2010-10-07 at 12:36 +0900, Tristan Van Berkom wrote: > Furthermore, the gimp's newer versions is now using GtkToolPalette > in place of the older wrap-box (the gimp had been using a similar > wrap-box widget to wrap items around in one of it's toolbars). Shouldn't GtkToolPalette (and maybe

Re: GtkSpreadTable ('spread-table' branch)

2010-10-11 Thread Murray Cumming
On Fri, 2010-10-08 at 23:31 +0900, Tristan Van Berkom wrote: > For what its worth I finally applied this algorithm > to the 'spread-table' branch. > > In the case that the trailing columns get no > widgets, one widget is placed in each of the trailing > columns (again, only happens with lots of co