Skip to content

Commit

Permalink
Updated UI layout
Browse files Browse the repository at this point in the history
  • Loading branch information
MicBoucinha committed Apr 10, 2019
1 parent da525f4 commit 78496de
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 12 deletions.
25 changes: 14 additions & 11 deletions pybpod_soundcard_module/module_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,17 +74,20 @@ def __init__(self, parent_win=None, win_flag=None):

# Define the organization of the forms
self.formset = [
'_save_file_checkbox',
('_filename', '_saveas_btn'),
('_duration', ' ', '_sample_rate'),
('Frequency', ' ', '_freq_left', '_freq_right'),
'_create_window',
('', 'Left channel', 'Right channel'),
('Duration (ms)', '_left_window_duration', '_right_window_duration'),
('Apply window to start', '_left_apply_window_start', '_right_apply_window_start'),
('Apply window to end', '_left_apply_window_end', '_right_apply_window_end'),
'_left_window_functions',
'_right_window_functions',
(
['_save_file_checkbox',
('_filename', '_saveas_btn'),
['_duration', '_sample_rate'],
('h5:Frequency', ['_freq_left', '_freq_right'])],
' ',
['_create_window',
('', 'Left channel', 'Right channel'),
('Duration (ms)', '_left_window_duration', '_right_window_duration'),
('Apply window to start', '_left_apply_window_start', '_right_apply_window_start'),
('Apply window to end', '_left_apply_window_end', '_right_apply_window_end'),
'_left_window_functions',
'_right_window_functions']
),
'_gen_btn'
]

Expand Down
2 changes: 1 addition & 1 deletion pybpod_soundcard_module/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

SOUNDCARD_PLUGIN_ICON = os.path.join(os.path.dirname(__file__), 'resources', 'sound-card.png')

SOUNDCARD_PLUGIN_WINDOW_SIZE = 300, 700
SOUNDCARD_PLUGIN_WINDOW_SIZE = 700, 600

0 comments on commit 78496de

Please sign in to comment.