Re: tree view resize columns with hpaned change



doh!  Thanks.  I had set the other not expand and neglected to set the
first to actually expand.
cheers,
wes

On Tue, Sep 1, 2009 at 4:40 AM, Kristian Rietveld<kris gtk org> wrote:
> On Tue, Sep 1, 2009 at 1:31 PM, Wesley Smith<wesley hoke gmail com> wrote:
>> Hi,
>> I'm trying to figure out the best way to adjust the spacing on a
>> GtkTreeView column when the view containing it is resized via a
>> GtkHpaned.  Is there a way to get a signal (either from the hpaned
>> itself or from the tree view as it changes) such that I can modify the
>> columns?  I have 4 columns, 3 are fixed.  I'd like the varying one to
>> be able to resize to fit the available space.  GtkTreeView does tihs
>> right now, but I want the far left column to adjust instead of the far
>> right as it does currently.
>
> Have you tried setting the "expand" property on the column you want to
> fit the available space?
>
>
> regards,
>
> -kris.
>


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