made the text in the (error) message windows centered

This commit is contained in:
fgerlits 2006-03-02 18:39:58 +00:00
parent 59bcec4df2
commit 29c3c2b045

View file

@ -73,6 +73,8 @@ DialogWindow :: DialogWindow (Ptr<Glib::ustring>::Ref message,
Gtk::Label * messageLabel = Gtk::manage(new Gtk::Label(*message, Gtk::Label * messageLabel = Gtk::manage(new Gtk::Label(*message,
Gtk::ALIGN_CENTER, Gtk::ALIGN_CENTER,
Gtk::ALIGN_CENTER )); Gtk::ALIGN_CENTER ));
messageLabel->set_justify(Gtk::JUSTIFY_CENTER);
Gtk::Box * messageBox = Gtk::manage(new Gtk::HBox); Gtk::Box * messageBox = Gtk::manage(new Gtk::HBox);
messageBox->pack_start(*messageLabel, true, false, 10); messageBox->pack_start(*messageLabel, true, false, 10);