[niepce] metadatawidget: add some margins
- From: Hubert Figuière <hub src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [niepce] metadatawidget: add some margins
- Date: Thu, 1 Jun 2017 03:40:04 +0000 (UTC)
commit 75e4979ff4093a9bb6b17c0c818442fd7951be32
Author: Hubert Figuière <hub figuiere net>
Date: Mon May 22 11:51:42 2017 -0400
metadatawidget: add some margins
src/fwk/toolkit/dockable.cpp | 5 ++++-
src/fwk/toolkit/metadatawidget.cpp | 1 +
2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/src/fwk/toolkit/dockable.cpp b/src/fwk/toolkit/dockable.cpp
index 5f73f50..0ae1533 100644
--- a/src/fwk/toolkit/dockable.cpp
+++ b/src/fwk/toolkit/dockable.cpp
@@ -36,7 +36,10 @@ Dockable::build_vbox()
{
m_box = Gtk::manage(new Gtk::Box(Gtk::ORIENTATION_VERTICAL));
// do the label, the name, etc.
-
+ m_box->set_margin_start(8);
+ m_box->set_margin_end(8);
+ m_box->set_margin_top(8);
+ m_box->set_margin_bottom(8);
// TODO
return m_box;
}
diff --git a/src/fwk/toolkit/metadatawidget.cpp b/src/fwk/toolkit/metadatawidget.cpp
index 980fdd5..a26b1c9 100644
--- a/src/fwk/toolkit/metadatawidget.cpp
+++ b/src/fwk/toolkit/metadatawidget.cpp
@@ -56,6 +56,7 @@ MetaDataWidget::MetaDataWidget(const Glib::ustring & title)
m_table.set_row_homogeneous(false);
m_table.insert_column(0);
m_table.insert_column(0);
+ m_table.set_margin_start(8);
add(m_table);
set_sensitive(false);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]