From: pabs Date: Sun, 11 Mar 2007 17:19:39 +0000 (+0000) Subject: Fix 1677596: set range for the brush width widget to 0, X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=014648e0b7f5ffaad56ec6072aabc9e68d11cfcc;p=synfig.git Fix 1677596: set range for the brush width widget to 0, git-svn-id: http://svn.voria.com/code@297 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-studio/trunk/src/gtkmm/widget_defaults.cpp b/synfig-studio/trunk/src/gtkmm/widget_defaults.cpp index 1f6fa9a..b0d5310 100644 --- a/synfig-studio/trunk/src/gtkmm/widget_defaults.cpp +++ b/synfig-studio/trunk/src/gtkmm/widget_defaults.cpp @@ -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);