Show the current_time_widget in the proper function and request minimum horizontal...
authorCarlos Lopez <carlos@pcnuevo.(none)>
Sun, 21 Jun 2009 22:42:37 +0000 (00:42 +0200)
committerCarlos Lopez <carlos@pcnuevo.(none)>
Mon, 13 Jul 2009 18:07:37 +0000 (20:07 +0200)
synfig-studio/trunk/src/gtkmm/canvasview.cpp

index d877e6d..b3e243f 100644 (file)
@@ -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)