[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: xchat 1.9.4 (devel) (scrolled tabs)
On Wed, 6 Nov 2002 18:46:16 +0000
Lloyd Williams <binary_frog@chatcircuit.com> wrote:
> > * tabs can't scroll when filling the whole window
> > (use a ScrolledWindow or multiple rows?) May need help with this
> > one.
>
> 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.
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.
--
Peter Zelezny.
--
XChat-discuss: mailing list for XChat users
Archive: http://mail.nl.linux.org/xchat-discuss/