Re: [gtkmm] How to hide ScrollBars in ScrolledWindow?



Am Fre, 2002-12-13 um 11.40 schrieb Iwan van Rienen:
> >Gtk::POLICY_NEVER works for me, though I think POLICY_AUTOMATIC makes
> >more sense.
> >--
> >Murray Cumming
> 
> Hi Murray,
> 
> I'm working on a touchscreen application so I've created custom up / down 
> controls (some large buttons).
> 
> Using POLICY_NEVER hides the scrollbar indeed, but when adding many rows to 
> the TreeView all rows are displayed, this messing up the height all other 
> columns in my table (the ScrolledWindow with TreeView is placed in this table)

Yes, that's the correct behaviour.  You probably want to create and set
the Gtk::Alignments manually via Gtk::TreeView::set_[hv]alignment()
instead of using Gtk::ScrolledWindow.

--Daniel





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