[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xchat 1.9.4 (devel) (scrolled tabs)



Peter Zelezny wrote:
>>Attached is a sort of concept patch. It contains the tabs box within a
>>Viewport, and uses two buttons to jump left and right within the
>>Viewport. It's a less than ideal solution, but I think it's tidier
>>than a ScrolledWindow.

I needed to fix things when i applied this patch to 1.9.4 before it 
worked, seems slightly odd.

>  
> Seems to work reasonably well. But when you press the < or > button the
> first time, the y-size of the whole tab area increases by about 2 pixels.
> I fixed it by adding:
> 
> 	requisition->height = 1;
> 
> to the size_request callback.
> 
> It might be better to move all this code into tabs.c too, I'll look into it.
> 

What is the reason for not using a gtk notebook btw (the only one i can 
think of is the less obvious difference between servers) ? It is more 
consistent then writing your own stuff.

- foser

--
XChat-discuss: mailing list for XChat users
Archive:       http://mail.nl.linux.org/xchat-discuss/