[gnote] Replace xpad with margins
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Replace xpad with margins
- Date: Sat, 15 May 2021 10:13:03 +0000 (UTC)
commit b847ce3c6ec6cd8500aac144bf77d99be51a9488
Author: Aurimas Černius <aurisc4 gmail com>
Date: Sat May 15 12:57:13 2021 +0300
Replace xpad with margins
src/preferencesdialog.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/preferencesdialog.cpp b/src/preferencesdialog.cpp
index 7f5596dd..c37b9cfa 100644
--- a/src/preferencesdialog.cpp
+++ b/src/preferencesdialog.cpp
@@ -356,7 +356,8 @@ namespace gnote {
font_box->attach(*sep, 1, 0, 1, 1);
font_size = manage(new Gtk::Label());
- font_size->property_xpad().set_value(4);
+ font_size->set_margin_start(4);
+ font_size->set_margin_end(4);
font_size->show ();
font_box->attach(*font_size, 2, 0, 1, 1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]