]> git.lyx.org Git - features.git/commitdiff
Set the bounds to the slider, so it updates during a spellchecking session.
authorAngus Leeming <leeming@lyx.org>
Tue, 18 Sep 2001 12:22:08 +0000 (12:22 +0000)
committerAngus Leeming <leeming@lyx.org>
Tue, 18 Sep 2001 12:22:08 +0000 (12:22 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2769 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/xforms/ChangeLog
src/frontends/xforms/FormSpellchecker.C

index ecbefe31dbf5a164634b8af0bcbd8216100fadc8..ce35b3b8a39d4d34bcfc1bd3dfc761cd028fb2e9 100644 (file)
@@ -2,6 +2,9 @@
 
        * form_ref.fd: a little tweaking.
 
+       * FormSpellchecker.C (build): set the bounds to the slider, so it
+       updates during a spellchecking session.
+
 2001-09-14  Angus Leeming  <a.leeming@ic.ac.uk>
 
        * forms/form_preferences.fd: rearrangement and addition of new
index 1f1ac9a37fdfe6863b6176e119e5cbcd756f90ad..b363e6c5b94bf3c5a5f36648d0b0cca19f7724e4 100644 (file)
@@ -29,6 +29,9 @@ void FormSpellchecker::build()
 {
        dialog_.reset(build_spellchecker());
        
+       fl_set_slider_bounds(dialog_->slider, 0.0, 100.0);
+       fl_set_slider_step(dialog_->slider, 1.0);
+
        // Manage the buttons
        bc().setCancel(dialog_->done);
        bc().addReadOnly(dialog_->replace);