]> git.0d.be Git - jack_mixer.git/commitdiff
Make initial window wide enough to fit 2 ins, 2 outs, and widen in/out property and...
authorDaniel Sheeler <dsheeler@pobox.com>
Thu, 2 Jul 2020 15:31:36 +0000 (10:31 -0500)
committerDaniel Sheeler <dsheeler@pobox.com>
Thu, 2 Jul 2020 15:31:36 +0000 (10:31 -0500)
channel.py
jack_mixer.py

index 4cedd9399ede573d1f9a4cd95a787757ff63bdb7..2a7e2f0fff041848691145cc87d5b70949b9a7d3 100644 (file)
@@ -803,6 +803,7 @@ class ChannelPropertiesDialog(Gtk.Dialog):
         self.app = app
         self.mixer = self.channel.mixer
         Gtk.Dialog.__init__(self, 'Channel "%s" Properties' % self.channel.channel_name, app.window)
+        self.set_default_size(365, -1)
 
         self.add_button(Gtk.STOCK_CANCEL, Gtk.ResponseType.CANCEL)
         self.ok_button = self.add_button(Gtk.STOCK_APPLY, Gtk.ResponseType.APPLY)
@@ -994,6 +995,7 @@ class NewChannelDialog(ChannelPropertiesDialog):
 class NewInputChannelDialog(NewChannelDialog):
     def __init__(self, app):
         Gtk.Dialog.__init__(self, 'New Input Channel', app.window)
+        self.set_default_size(365, -1)
         self.mixer = app.mixer
         self.app = app
         self.create_ui()
@@ -1064,6 +1066,7 @@ class NewOutputChannelDialog(NewChannelDialog, OutputChannelPropertiesDialog):
         self.app = app
         OutputChannelPropertiesDialog.create_ui(self)
         self.fill_ui()
+        self.set_default_size(365, -1)
 
         # TODO: disable mode for output channels as mono output channels may
         # not be correctly handled yet.
index 14d07a2a8fcde2194ecace5cae0d3fcfa675ff71..9f8860c3a2f527dd1caac0b2936e3ceda9b50a81 100755 (executable)
@@ -136,7 +136,7 @@ class JackMixer(SerializedObject):
         help_menu_item = Gtk.MenuItem.new_with_mnemonic('_Help')
         self.menubar.append(help_menu_item)
 
-        self.window.set_default_size(120, 300)
+        self.window.set_default_size(420, 420)
 
         self.mixer_menu = Gtk.Menu()
         mixer_menu_item.set_submenu(self.mixer_menu)