From: kidproto Date: Mon, 28 Aug 2006 08:00:22 +0000 (+0000) Subject: Added some set_size_requests to ishmal's cool work so dialogs look nice from the X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=dc510789faf00e5706e608c827700c397d75af5b;p=inkscape.git Added some set_size_requests to ishmal's cool work so dialogs look nice from the beginning... --- diff --git a/src/ui/dialog/messages.cpp b/src/ui/dialog/messages.cpp index 9228273d0..9c7434edd 100644 --- a/src/ui/dialog/messages.cpp +++ b/src/ui/dialog/messages.cpp @@ -67,6 +67,9 @@ Messages::Messages() textScroll.set_policy(Gtk::POLICY_ALWAYS, Gtk::POLICY_ALWAYS); mainVBox->pack_start(textScroll); + // sick of this thing shrinking too much + set_size_request(400, 300); + show_all_children(); message(_("Ready.")); diff --git a/src/ui/dialog/scriptdialog.cpp b/src/ui/dialog/scriptdialog.cpp index 483677464..8cc8f88aa 100644 --- a/src/ui/dialog/scriptdialog.cpp +++ b/src/ui/dialog/scriptdialog.cpp @@ -214,6 +214,8 @@ ScriptDialogImpl::ScriptDialogImpl() errorTextFrame.add(errorTextScroll); mainVBox->pack_start(errorTextFrame); + // sick of this thing shrinking too much + set_size_request(350, 400); show_all_children(); } diff --git a/src/ui/dialog/scriptdialog.h b/src/ui/dialog/scriptdialog.h index 74bc5d007..b66aa93e7 100644 --- a/src/ui/dialog/scriptdialog.h +++ b/src/ui/dialog/scriptdialog.h @@ -35,7 +35,7 @@ class ScriptDialog : public Dialog * Constructor */ ScriptDialog() : Dialog ("dialogs.script", SP_VERB_DIALOG_SCRIPT) - {} + {} /** @@ -49,6 +49,9 @@ class ScriptDialog : public Dialog virtual ~ScriptDialog() {}; + private: + int _max_dialog_width; + int _max_dialog_height; }; // class ScriptDialog diff --git a/src/ui/dialog/text-properties.cpp b/src/ui/dialog/text-properties.cpp index c4a95f014..a79992677 100644 --- a/src/ui/dialog/text-properties.cpp +++ b/src/ui/dialog/text-properties.cpp @@ -36,6 +36,9 @@ TextProperties::TextProperties() _notebook.append_page(_page_font, _("Font")); _notebook.append_page(_page_text, _("Text")); + set_resizable (true); + set_size_request(450, 300); + show_all_children(); }