summaryrefslogtreecommitdiffstats
path: root/src/extension/internal/pdfinput/pdf-input.cpp
diff options
context:
space:
mode:
authorNathan Lee <2431820-nathanal@users.noreply.gitlab.com>2019-03-30 01:39:59 +0000
committerNathan Lee <2431820-nathanal@users.noreply.gitlab.com>2019-04-02 08:55:59 +0000
commit53ead5269c16cf7decee30713b0cd0d1456e7138 (patch)
tree66fda5dd8d50d5a7b86e22690742b607a7d01381 /src/extension/internal/pdfinput/pdf-input.cpp
parentAvoid crash from nullptr exception (diff)
downloadinkscape-53ead5269c16cf7decee30713b0cd0d1456e7138.tar.gz
inkscape-53ead5269c16cf7decee30713b0cd0d1456e7138.zip
Tidy various dialog UIs
Diffstat (limited to 'src/extension/internal/pdfinput/pdf-input.cpp')
-rw-r--r--src/extension/internal/pdfinput/pdf-input.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/extension/internal/pdfinput/pdf-input.cpp b/src/extension/internal/pdfinput/pdf-input.cpp
index 8b4cc5aa7..5e1a91589 100644
--- a/src/extension/internal/pdfinput/pdf-input.cpp
+++ b/src/extension/internal/pdfinput/pdf-input.cpp
@@ -122,13 +122,16 @@ PdfImportDialog::PdfImportDialog(PDFDoc *doc, const gchar */*uri*/)
_pageSettingsFrame = Gtk::manage(new class Inkscape::UI::Widget::Frame(_("Page settings")));
_labelPrecision = Gtk::manage(new class Gtk::Label(_("Precision of approximating gradient meshes:")));
_labelPrecisionWarning = Gtk::manage(new class Gtk::Label(_("<b>Note</b>: setting the precision too high may result in a large SVG file and slow performance.")));
+ _labelPrecisionWarning->set_max_width_chars(50);
#ifdef HAVE_POPPLER_CAIRO
Gtk::RadioButton::Group group;
_importViaPoppler = Gtk::manage(new class Gtk::RadioButton(group,_("Poppler/Cairo import")));
_labelViaPoppler = Gtk::manage(new class Gtk::Label(_("Import via external library. Text consists of groups containing cloned glyphs where each glyph is a path. Images are stored internally. Meshes cause entire document to be rendered as a raster image.")));
+ _labelViaPoppler->set_max_width_chars(50);
_importViaInternal = Gtk::manage(new class Gtk::RadioButton(group,_("Internal import")));
_labelViaInternal = Gtk::manage(new class Gtk::Label(_("Import via internal (Poppler derived) library. Text is stored as text but white space is missing. Meshes are converted to tiles, the number depends on the precision set below.")));
+ _labelViaInternal->set_max_width_chars(50);
#endif
_fallbackPrecisionSlider_adj = Gtk::Adjustment::create(2, 1, 256, 1, 10, 10);