diff options
| author | Andrew rugby471@gmail.com <> | 2011-03-11 17:45:35 +0000 |
|---|---|---|
| committer | Andrew rugby471@gmail.com <> | 2011-03-11 17:45:35 +0000 |
| commit | 6a8d2d6d621e4ec4391d37fc3188198645743dce (patch) | |
| tree | 3adf06a0c4f3392f013a3440e6600de78f897249 /src | |
| parent | Add handling filter primitive subregion to filter primitive classes. (diff) | |
| download | inkscape-6a8d2d6d621e4ec4391d37fc3188198645743dce.tar.gz inkscape-6a8d2d6d621e4ec4391d37fc3188198645743dce.zip | |
Added 12px border to dialog
Set better default size
Removed 'Search for:' label
Made Search button not EXPAND and FILL
(bzr r10092.1.1)
Diffstat (limited to 'src')
| -rw-r--r-- | src/ui/dialog/ocaldialogs.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/ui/dialog/ocaldialogs.cpp b/src/ui/dialog/ocaldialogs.cpp index 2ae7d6989..e30d819ce 100644 --- a/src/ui/dialog/ocaldialogs.cpp +++ b/src/ui/dialog/ocaldialogs.cpp @@ -562,8 +562,11 @@ FileImportFromOCALDialog::FileImportFromOCALDialog(Gtk::Window& parentWindow, Glib::ustring searchTag = ""; dialogType = fileTypes; + // Dialog + set_border_width(12); + set_default_size(480, 350); + // Gtk::VBox *vbox = get_vbox(); - Gtk::Label *tagLabel = new Gtk::Label(_("Search for:")); notFoundLabel = new Gtk::Label(_("No files matched your search")); descriptionLabel = new Gtk::Label(); descriptionLabel->set_max_width_chars(260); @@ -576,9 +579,8 @@ FileImportFromOCALDialog::FileImportFromOCALDialog(Gtk::Window& parentWindow, searchTagEntry->set_text(searchTag); searchTagEntry->set_max_length(255); searchButton = new Gtk::Button(_("Search")); - tagBox.pack_start(*tagLabel); tagBox.pack_start(*searchTagEntry, Gtk::PACK_EXPAND_WIDGET, 3); - tagBox.pack_start(*searchButton); + tagBox.pack_start(*searchButton, false, false); filesPreview = new SVGPreview(); filesPreview->showNoPreview(); // add the buttons in the bottom of the dialog |
