From bd98ee2549cf40630a6da66bbd994f2cc39b11b3 Mon Sep 17 00:00:00 2001 From: "Jon A. Cruz" Date: Sun, 19 Feb 2006 05:32:13 +0000 Subject: Fixing scrollbar size for embeded color swatches. (bzr r158) --- src/ui/widget/panel.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/ui/widget/panel.cpp') diff --git a/src/ui/widget/panel.cpp b/src/ui/widget/panel.cpp index 67aca690a..b0a35614d 100644 --- a/src/ui/widget/panel.cpp +++ b/src/ui/widget/panel.cpp @@ -134,6 +134,14 @@ void Panel::setLabel(Glib::ustring const &label) tabTitle.set_label(this->label); } +void Panel::setOrientation( Gtk::AnchorType how ) +{ + if ( _anchor != how ) + { + _anchor = how; + } +} + void Panel::_regItem( Gtk::MenuItem* item, int group, int id ) { menu.append( *item ); -- cgit v1.2.3