Re: [PATCH] Make filediff viewers adjustable widths



On Mon, Mar 30, 2009 at 9:55 PM, Mark Doliner <mark kingant net> wrote:
> I agree, it would look better if the adjustment grippy was centered in
> the diffbar and didn't break the appearance of the central bar.  But
> that sounds hard and I was just scratching an itch.
>
> I'm not familiar with how the diffbar is implemented.  Is it a custom
> widget?  It seems like it would need to be extended to display the
> grippy image in the middle, and to handle mouse drag/undrag events.
> I'm not sure how feasible that is, or how easy it would be to
> implement.

You could try to experiment with subclassing HPaned, but I think
you'll first need to get rid of the gtktable container, which quickly
gets in the way when trying to get horizontal resizing working.

Also don't forget 3-way diffs.

Good luck, tell us of your progress.

-- 
Vincent Legoll


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