From 13dbd5e744738bc01ec52e030aa05b76c6099b21 Mon Sep 17 00:00:00 2001 From: Carlos Lopez Date: Mon, 22 Jun 2009 00:42:37 +0200 Subject: [PATCH] Show the current_time_widget in the proper function and request minimum horizontal size --- synfig-studio/trunk/src/gtkmm/canvasview.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/synfig-studio/trunk/src/gtkmm/canvasview.cpp b/synfig-studio/trunk/src/gtkmm/canvasview.cpp index d877e6d..b3e243f 100644 --- a/synfig-studio/trunk/src/gtkmm/canvasview.cpp +++ b/synfig-studio/trunk/src/gtkmm/canvasview.cpp @@ -992,6 +992,8 @@ CanvasView::create_time_bar() current_time_widget->signal_value_changed().connect( sigc::mem_fun(*this,&CanvasView::on_current_time_widget_changed) ); + current_time_widget->set_size_request(0,-1); // request horizontal shrink + current_time_widget->show(); //Setup the FrameDial widget FrameDial *framedial = manage(new class FrameDial()); @@ -3209,7 +3211,7 @@ void CanvasView::show_timebar() { timebar->show(); - current_time_widget->show(); + //current_time_widget->show(); // not needed now that belongs to the timebar //keyframe_tab_child->show(); if(layer_tree) -- 2.7.4