diff options
| author | bulia byak <buliabyak@gmail.com> | 2006-04-20 00:56:20 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2006-04-20 00:56:20 +0000 |
| commit | 790f464078bf6cffde0b7f9adf5321afee21cd45 (patch) | |
| tree | 0cb2f75b3ae4b585017399374262d39f0b828cce /src/ui/dialog/inkscape-preferences.cpp | |
| parent | prevent fit canvas button from expanding (diff) | |
| download | inkscape-790f464078bf6cffde0b7f9adf5321afee21cd45.tar.gz inkscape-790f464078bf6cffde0b7f9adf5321afee21cd45.zip | |
add abs_width switch for calligraphy pen width; switch it to 1..100 displayed range
(bzr r548)
Diffstat (limited to 'src/ui/dialog/inkscape-preferences.cpp')
| -rw-r--r-- | src/ui/dialog/inkscape-preferences.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp index 3ebf50eb9..649dda100 100644 --- a/src/ui/dialog/inkscape-preferences.cpp +++ b/src/ui/dialog/inkscape-preferences.cpp @@ -300,6 +300,8 @@ void InkscapePreferences::initPageTools() Gtk::TreeModel::iterator iter_tools = this->AddPage(_page_tools, _("Tools"), PREFS_PAGE_TOOLS); _path_tools = _page_list.get_model()->get_path(iter_tools); + _calligrapy_use_abs_size.init ( _("Width is in absolute units"), "tools.calligraphic", "abs_width", false); + //Selector this->AddPage(_page_selector, _("Selector"), iter_tools, PREFS_PAGE_TOOLS_SELECTOR); @@ -368,6 +370,8 @@ void InkscapePreferences::initPageTools() //Calligraphy this->AddPage(_page_calligraphy, _("Calligraphy"), iter_tools, PREFS_PAGE_TOOLS_CALLIGRAPHY); this->AddNewObjectsStyle(_page_calligraphy, "tools.calligraphic"); + _page_calligraphy.add_line( false, "", _calligrapy_use_abs_size, "", + _("If on, pen width is in absolute units (px) independent of zoom; otherwise pen width depends on zoom so that it looks the same at any zoom")); //Text this->AddPage(_page_text, _("Text"), iter_tools, PREFS_PAGE_TOOLS_TEXT); this->AddSelcueCheckbox(_page_text, "tools.text", true); |
