From 846d7b6dbb40e36af9c9b5070b33e9df1e901f9f Mon Sep 17 00:00:00 2001 From: Kiooeht Date: Mon, 25 Apr 2011 01:31:47 -0700 Subject: [PATCH] Rearrange options menu a little bit --- menus.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/menus.py b/menus.py index df707d6..f59b582 100644 --- a/menus.py +++ b/menus.py @@ -607,6 +607,9 @@ class PesterOptions(QtGui.QDialog): method = self.config.sortMethod() if method >= 0 and method < self.sortBox.count(): self.sortBox.setCurrentIndex(method) + layout_3 = QtGui.QHBoxLayout() + layout_3.addWidget(sortLabel) + layout_3.addWidget(self.sortBox, 10) self.ok = QtGui.QPushButton("OK", self) self.ok.setDefault(True) @@ -626,8 +629,9 @@ class PesterOptions(QtGui.QDialog): #layout_0.addWidget(self.groupscheck) layout_0.addWidget(self.showemptycheck) layout_0.addWidget(self.showonlinenumbers) - layout_0.addWidget(sortLabel) - layout_0.addWidget(self.sortBox) + #layout_0.addWidget(sortLabel) + #layout_0.addWidget(self.sortBox) + layout_0.addLayout(layout_3) layout_0.addWidget(hr) layout_0.addWidget(self.timestampcheck) layout_0.addWidget(self.timestampBox)