Fix layout in player-settings. Fixes bug 1410772

Fixes: https://launchpad.net/bugs/1410772
This commit is contained in:
Tomas Groth 2015-01-19 12:21:00 +01:00
parent d424ae51fa
commit 8ba226fe0e

View File

@ -85,9 +85,7 @@ class PlayerTab(SettingsTab):
self.information_label.setWordWrap(True) self.information_label.setWordWrap(True)
self.form_layout.addRow(self.information_label) self.form_layout.addRow(self.information_label)
self.left_layout.addWidget(self.background_color_group_box) self.left_layout.addWidget(self.background_color_group_box)
self.left_layout.addStretch()
self.right_column.setSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred) self.right_column.setSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
self.right_layout.addStretch()
self.media_player_group_box = QtGui.QGroupBox(self.left_column) self.media_player_group_box = QtGui.QGroupBox(self.left_column)
self.media_player_group_box.setObjectName('media_player_group_box') self.media_player_group_box.setObjectName('media_player_group_box')
self.media_player_layout = QtGui.QVBoxLayout(self.media_player_group_box) self.media_player_layout = QtGui.QVBoxLayout(self.media_player_group_box)