Fix layout of new preferences window

This commit is contained in:
Kovid Goyal 2010-09-05 14:44:03 -06:00
parent dc87322c80
commit ea4dccb629
3 changed files with 2511 additions and 2679 deletions

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 278 KiB

After

Width:  |  Height:  |  Size: 297 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 170 KiB

After

Width:  |  Height:  |  Size: 28 KiB

View File

@ -72,6 +72,9 @@ class Category(QWidget):
ac.setWhatsThis(p.description) ac.setWhatsThis(p.description)
ac.setStatusTip(p.description) ac.setStatusTip(p.description)
self.actions.append(ac) self.actions.append(ac)
w = self.bar.widgetForAction(ac)
w.setStyleSheet('QToolButton { margin-right: 20px; min-width: 100px }')
w.setCursor(Qt.PointingHandCursor)
def triggered(self, plugin, *args): def triggered(self, plugin, *args):
self.plugin_activated.emit(plugin) self.plugin_activated.emit(plugin)