Fixed weird memo scrollbar thing
This commit is contained in:
parent
6546360ccc
commit
2fd5b3f759
1 changed files with 6 additions and 1 deletions
7
memos.py
7
memos.py
|
@ -474,7 +474,12 @@ class PesterMemo(PesterConvo):
|
|||
self.channelLabel.setMinimumHeight(theme["memos/label/minheight"])
|
||||
|
||||
self.userlist.optionsMenu.setStyleSheet(theme["main/defaultwindow/style"])
|
||||
self.userlist.setStyleSheet(theme["memos/userlist/style"])
|
||||
if theme.has_key("main/chums/scrollbar"):
|
||||
print "yes scrollbars!"
|
||||
self.setStyleSheet("QListWidget { %s } QScrollBar { %s } QScrollBar::handle { %s } QScrollBar::add-line { %s } QScrollBar::sub-line { %s } QScrollBar:up-arrow { %s } QScrollBar:down-arrow { %s }" % (theme["memos/userlist/style"], theme["main/chums/scrollbar/style"], theme["main/chums/scrollbar/handle"], theme["main/chums/scrollbar/downarrow"], theme["main/chums/scrollbar/uparrow"], theme["main/chums/scrollbar/uarrowstyle"], theme["main/chums/scrollbar/darrowstyle"] ))
|
||||
else:
|
||||
print "no scroll bars :("
|
||||
self.userlist.setStyleSheet(theme["memos/userlist/style"])
|
||||
self.userlist.setFixedWidth(theme["memos/userlist/width"])
|
||||
self.addchumAction.setText(theme["main/menus/rclickchumlist/addchum"])
|
||||
self.banuserAction.setText(theme["main/menus/rclickchumlist/banuser"])
|
||||
|
|
Loading…
Reference in a new issue