[gnome-sound-recorder] Window: set minimun width/height size



commit eb4b8b7b73e83f1ccccf1f3d93134c334b8e5903
Author: Miguel Vaello Martínez <miguel vaellomartinez gmail com>
Date:   Tue Dec 29 23:36:41 2015 +0100

    Window: set minimun width/height size
    
    Sets a minimun width/height size to the main window.
    Very smalle windows makes the application useless,
    A 640x480 size is enought and pretty usable.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=759981

 src/mainWindow.js | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/mainWindow.js b/src/mainWindow.js
index db12a34..b46b30e 100644
--- a/src/mainWindow.js
+++ b/src/mainWindow.js
@@ -101,6 +101,8 @@ var MainWindow = new Lang.Class({
         params = Params.fill(params, { title: GLib.get_application_name(),
                                        default_height: 480,
                                        default_width: 780,
+                                       height_request: 480,
+                                       width_request: 640,
                                        hexpand: true,
                                        vexpand: true,
                                        icon_name: "org.gnome.SoundRecorder" });


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]