[gnome-sound-recorder] preferences.js: improve the dialog layout
- From: Meg Ford (Margaret) <megford src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-sound-recorder] preferences.js: improve the dialog layout
- Date: Sun, 16 Feb 2014 00:46:39 +0000 (UTC)
commit e457b54f2c6fb67ddbd9f9918daf38b2edadc426
Author: Meg Ford <meg387 gmail com>
Date: Sat Feb 15 18:39:41 2014 -0600
preferences.js: improve the dialog layout
src/application.js | 2 +-
src/preferences.js | 14 +++++---------
2 files changed, 6 insertions(+), 10 deletions(-)
---
diff --git a/src/application.js b/src/application.js
index eff7cb4..69f0814 100644
--- a/src/application.js
+++ b/src/application.js
@@ -105,7 +105,7 @@ const Application = new Lang.Class({
},
_showPreferences: function() {
- let preferencesDialog = new Preferences.Preferences();
+ let preferencesDialog = new Preferences.Preferences();
preferencesDialog.widget.connect('response', Lang.bind(this,
function(widget, response) {
diff --git a/src/preferences.js b/src/preferences.js
index 57765ca..9df7ee4 100644
--- a/src/preferences.js
+++ b/src/preferences.js
@@ -49,19 +49,15 @@ const Preferences = new Lang.Class({
let mainGrid = new Gtk.Grid({ orientation: Gtk.Orientation.VERTICAL,
row_spacing: 6,
margin_left: 12,
- margin_right: 12,
- margin_bottom: 12,
- margin_top: 12 });
+ margin_right: 12 });
let contentArea = this.widget.get_content_area();
contentArea.pack_start(mainGrid, true, true, 0);
let grid = new Gtk.Grid({ orientation: Gtk.Orientation.VERTICAL,
- hexpand: true,
- vexpand: true,
- column_spacing: 18,
- row_spacing: 6,
- margin_bottom: 12,
- margin_top: 12 });
+ hexpand: true,
+ vexpand: true,
+ column_spacing: 18,
+ row_spacing: 6 });
mainGrid.add(grid);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]