diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2007-11-18 14:26:08 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2007-11-18 14:26:08 +0000 |
| commit | 992a532e20e460a42c0c1e3687042abddf7c8fbd (patch) | |
| tree | fe5384c926294e638e526412c6a1ea49efdbf6cb /src/ui/widget/scalar.cpp | |
| parent | Make LPE Path along path behave more naturally. (fixes problems in moving a p... (diff) | |
| download | inkscape-992a532e20e460a42c0c1e3687042abddf7c8fbd.tar.gz inkscape-992a532e20e460a42c0c1e3687042abddf7c8fbd.zip | |
Fix bug [ 1685684 ] Document Properties: Grid number fields round too broadly
(bzr r4108)
Diffstat (limited to 'src/ui/widget/scalar.cpp')
| -rw-r--r-- | src/ui/widget/scalar.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/widget/scalar.cpp b/src/ui/widget/scalar.cpp index ae90e4a0f..743c879f0 100644 --- a/src/ui/widget/scalar.cpp +++ b/src/ui/widget/scalar.cpp @@ -40,6 +40,7 @@ Scalar::Scalar(Glib::ustring const &label, Glib::ustring const &tooltip, : Labelled(label, tooltip, new Gtk::SpinButton(), suffix, icon, mnemonic), setProgrammatically(false) { + static_cast<Gtk::SpinButton*>(_widget)->set_numeric(); } /** @@ -61,6 +62,7 @@ Scalar::Scalar(Glib::ustring const &label, Glib::ustring const &tooltip, : Labelled(label, tooltip, new Gtk::SpinButton(0.0, digits), suffix, icon, mnemonic), setProgrammatically(false) { + static_cast<Gtk::SpinButton*>(_widget)->set_numeric(); } /** @@ -84,6 +86,7 @@ Scalar::Scalar(Glib::ustring const &label, Glib::ustring const &tooltip, : Labelled(label, tooltip, new Gtk::SpinButton(adjust, 0.0, digits), suffix, icon, mnemonic), setProgrammatically(false) { + static_cast<Gtk::SpinButton*>(_widget)->set_numeric(); } /** Fetches the precision of the spin buton */ |
