On Wed, May 25, 2011 at 08:41:35PM +0200, Johannes Hofmann wrote:
On Wed, May 25, 2011 at 01:37:26PM -0400, Jorge Arellano Cid wrote:
On Wed, May 25, 2011 at 03:13:54PM +0000, corvid wrote:
Jorge wrote:
On Sun, May 15, 2011 at 09:04:43PM +0200, Johannes Hofmann wrote:
- There is a tab title even if there is only one tab.
FYI, I'm testing a patch that does this. It uses a trick to receive events on a hidden tabbar and is designed so it's easy to set permanent tab buttons too (i.e. as now).
Quick poll: What's your preferred mode?
I prefer that the tab bar goes away when there's only one tab.
I will feel surprise if anyone wants to have it visible when there's only one tab.
The patch "almost" works, but sometimes when resizing the window, strange resize problems arise, and things go wild. I'm glad I finally isolated and STRed a part of the problem:
http://fltk.org/str.php?L2639+P0+S-2+C0+I0+E0+Q
I hesitate to fight it much more before the resolution for STR#2639 comes out. It's like herding cats: you can make them all move, but not make them go where you want.
I'm currently working on a fix for the dwm resize issue. The idea is to get rid of Fl_Pack entirely.
Well, that's the way to go if Fl_Pack is not fixed in FLTK-1.3. Although I hope Fl_Pack is fixed, because things become much simpler with it.
So that patch might also fix the issue you are now seeing with tabs and resizing.
I'm trying a different approach now, and so far it works! :-o -- Cheers Jorge.-