Changeset e7c6b41ac5a2552147e83c248b26252f2841a35e
- Timestamp:
- 06/06/09 22:02:28 (3 years ago)
- Author:
- Nedko Arnaudov <nedko@…>
- Children:
- 19123e6624236b0f9c97a3e13df1a493436350c2
- Parents:
- 47c4611885f7db6fa6f5a7b9160603c2cb0ae53b
- git-committer:
- Nedko Arnaudov <nedko@arnaudov.name> / 2009-06-06T22:02:28Z+0300
- Message:
-
Layout improvements
- Move master params and buttons to right
- Close button
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r47c4611
|
re7c6b41
|
|
| 903 | 903 | self.ports = [] |
| 904 | 904 | |
| 905 | | first_box = gtk.VBox() |
| 906 | | first_box.set_spacing(5) |
| | 905 | misc_box = gtk.VBox() |
| | 906 | misc_box.set_spacing(5) |
| 907 | 907 | |
| 908 | 908 | master_frame = gtk.Frame("Master") |
| … |
… |
|
| 921 | 921 | |
| 922 | 922 | master_frame.add(master_box) |
| 923 | | first_box.pack_start(master_frame, False, False) |
| | 923 | misc_box.pack_start(master_frame, False, False) |
| 924 | 924 | |
| 925 | 925 | #logo = gtk.Image() |
| 926 | 926 | #logo.set_from_pixbuf(self.lv2logo) |
| 927 | | #first_box.pack_start(logo, True) |
| 928 | | |
| 929 | | about_button = gtk.Button("About") |
| 930 | | about_button.connect("clicked", self.on_about) |
| 931 | | align = gtk.Alignment(1.0, 1.0, 1.0, 1.0) |
| 932 | | align.add(about_button) |
| 933 | | first_box.pack_start(align, True, False) |
| 934 | | |
| 935 | | self.param_hbox.pack_start(first_box, True, True) |
| | 927 | #misc_box.pack_start(logo, True, True) |
| | 928 | |
| | 929 | button_box = gtk.VBox() |
| | 930 | |
| | 931 | button = gtk.Button(stock=gtk.STOCK_ABOUT) |
| | 932 | button.connect("clicked", self.on_about) |
| | 933 | button_box.pack_start(button) |
| | 934 | |
| | 935 | button = gtk.Button(stock=gtk.STOCK_CLOSE) |
| | 936 | button.connect("clicked", self.on_window_closed) |
| | 937 | button_box.pack_start(button) |
| | 938 | |
| | 939 | align = gtk.Alignment(0.5, 1.0, 1.0, 0.0) |
| | 940 | align.add(button_box) |
| | 941 | misc_box.pack_start(align, True, True) |
| 936 | 942 | |
| 937 | 943 | band_parameters = [ |
| … |
… |
|
| 980 | 986 | |
| 981 | 987 | self.param_hbox.pack_start(band_frame, True, True) |
| | 988 | |
| | 989 | self.param_hbox.pack_start(misc_box, True, True) |
| 982 | 990 | |
| 983 | 991 | self.initator = True |