diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2008-09-04 16:44:24 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2008-09-04 16:44:24 +0000 |
| commit | 512fb4db32cc18cb1c286f7cdae0664e657d4684 (patch) | |
| tree | 0ba34429153fec58f043876111d8e67ed13c7fb4 /src/ui/dialog/inkscape-preferences.cpp | |
| parent | add lpe param: VectorParam<float> and VectorParam<double> (diff) | |
| download | inkscape-512fb4db32cc18cb1c286f7cdae0664e657d4684.tar.gz inkscape-512fb4db32cc18cb1c286f7cdae0664e657d4684.zip | |
Add a zoom correction option to preferences (used when zooming to 1:1 etc. to display items in their true sizes)
(bzr r6758)
Diffstat (limited to 'src/ui/dialog/inkscape-preferences.cpp')
| -rw-r--r-- | src/ui/dialog/inkscape-preferences.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp index ef6c030e8..dcfc4e575 100644 --- a/src/ui/dialog/inkscape-preferences.cpp +++ b/src/ui/dialog/inkscape-preferences.cpp @@ -960,19 +960,23 @@ void InkscapePreferences::initPageUI() _misc_small_toolbar.init( "toolbox", "small", sizeLabels, sizeValues, G_N_ELEMENTS(sizeLabels), 0 ); _page_ui.add_line( false, _("Commands bar icon size"), _misc_small_toolbar, "", - _("Set the size for the commands toolbar to use (requires restart)"), false); + _("Set the size for the commands toolbar to use (requires restart)"), false); _misc_small_secondary.init( "toolbox", "secondary", sizeLabels, sizeValues, G_N_ELEMENTS(sizeLabels), 1 ); _page_ui.add_line( false, _("Tool controls bar icon size"), _misc_small_secondary, "", - _("Set the size for the secondary toolbar to use (requires restart)"), false); + _("Set the size for the secondary toolbar to use (requires restart)"), false); _misc_small_tools.init( "toolbox.tools", "small", sizeLabels, sizeValues, G_N_ELEMENTS(sizeLabels), 0 ); _page_ui.add_line( false, _("Main toolbar icon size"), _misc_small_tools, "", - _("Set the size for the main tools to use (requires restart)"), false); + _("Set the size for the main tools to use (requires restart)"), false); _misc_recent.init("options.maxrecentdocuments", "value", 0.0, 1000.0, 1.0, 1.0, 1.0, true, false); _page_ui.add_line( false, _("Maximum documents in Open Recent:"), _misc_recent, "", - _("The maximum length of the Open Recent list in the File menu"), false); + _("The maximum length of the Open Recent list in the File menu"), false); + + _ui_zoom_correction.init(300, 30, 1.00, 200.0, 1.0, 10.0, 1.0); + _page_ui.add_line( false, _("Zoom correction factor (in %):"), _ui_zoom_correction, "", + _("Adjust the slider until the length of the ruler on your screen matches its real length. This information is used when zooming to 1:1, 1:2, etc., to display objects in their true sizes"), true); this->AddPage(_page_ui, _("Interface"), PREFS_PAGE_UI); } |
