Fix 1677596: set range for the brush width widget to 0, <big number>
authorpabs <pabs@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 11 Mar 2007 17:19:39 +0000 (17:19 +0000)
committerpabs <pabs@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 11 Mar 2007 17:19:39 +0000 (17:19 +0000)
git-svn-id: http://svn.voria.com/code@297 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/src/gtkmm/widget_defaults.cpp

index 1f6fa9a..b0d5310 100644 (file)
@@ -260,6 +260,7 @@ Widget_Defaults::Widget_Defaults()
        widget_bline_width->show();
        bline_width_refresh();
        widget_bline_width->set_digits(2);
+       widget_bline_width->set_range(0,10000000);
        widget_bline_width->set_size_request(24,-1);
        widget_bline_width->signal_value_changed().connect(sigc::mem_fun(*this,&studio::Widget_Defaults::on_bline_width_changed));
        attach(*widget_bline_width,1, 2, 1, 2, Gtk::EXPAND|Gtk::FILL, Gtk::SHRINK|Gtk::FILL, 0, 0);