Module: synfig
Branch: genete_master
Commit: c449d860f40a811c2faf19e823744ff7960202c4
URL:    
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=c449d860f40a811c2faf19e823744ff7960202c4

Author: Carlos Lopez <car...@pcnuevo.(none)>
Date:   Mon Jun 22 00:42:37 2009 +0200

Show the current_time_widget in the proper function and request minimum 
horizontal size

---

 synfig-studio/trunk/src/gtkmm/canvasview.cpp |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

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)


------------------------------------------------------------------------------
_______________________________________________
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to