[glom] Correct the sizing of the ... date button.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom] Correct the sizing of the ... date button.
- Date: Tue, 12 Apr 2011 15:15:46 +0000 (UTC)
commit a09805263038e79686d32c4b31e90b7996a1e086
Author: Murray Cumming <murrayc murrayc com>
Date: Tue Apr 12 17:15:34 2011 +0200
Correct the sizing of the ... date button.
* glom/mode_data/datawidget/datawidget.cc: There is a button next to
all date fields, for selecting the date. Make sure that it does not expand.
Of course, a real date selection widget would be nicer.
ChangeLog | 8 ++++++++
glom/mode_data/datawidget/datawidget.cc | 2 +-
2 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 0d93bdf..eb3c136 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2011-04-12 Murray Cumming <murrayc murrayc com>
+ Correct the sizing of the ... date button.
+
+ * glom/mode_data/datawidget/datawidget.cc: There is a button next to
+ all date fields, for selecting the date. Make sure that it does not expand.
+ Of course, a real date selection widget would be nicer.
+
+2011-04-12 Murray Cumming <murrayc murrayc com>
+
Update the EggSpreadTable code.
* glom/utility_widgets/eggspreadtable/eggspreadtable.[h|cc]: Update this
diff --git a/glom/mode_data/datawidget/datawidget.cc b/glom/mode_data/datawidget/datawidget.cc
index 34fdd82..7bdb111 100644
--- a/glom/mode_data/datawidget/datawidget.cc
+++ b/glom/mode_data/datawidget/datawidget.cc
@@ -222,7 +222,7 @@ DataWidget::DataWidget(const sharedptr<LayoutItem_Field>& field, const Glib::ust
#endif
button_date->set_tooltip_text(_("Choose a date from an on-screen calendar."));
button_date->show();
- hbox_parent->pack_start(*button_date);
+ hbox_parent->pack_start(*button_date, Gtk::PACK_SHRINK);
button_date->signal_clicked().connect(sigc::mem_fun(*this, &DataWidget::on_button_choose_date));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]