mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
...
This commit is contained in:
parent
7c42d5d8a9
commit
e4d2e8048a
@ -223,7 +223,8 @@ class LayoutMixin(object): # {{{
|
||||
self.bd_splitter.addWidget(self.book_details)
|
||||
self.bd_splitter.setCollapsible(self.bd_splitter.other_index, False)
|
||||
self.centralwidget.layout().addWidget(self.bd_splitter)
|
||||
# }}}
|
||||
button_order = ('tb', 'bd', 'cb')
|
||||
# }}}
|
||||
else: # wide {{{
|
||||
self.bd_splitter = Splitter('book_details_splitter',
|
||||
_('Book Details'), I('book.png'), initial_side_size=200,
|
||||
@ -237,10 +238,11 @@ class LayoutMixin(object): # {{{
|
||||
self.bd_splitter.setSizePolicy(QSizePolicy(QSizePolicy.Expanding,
|
||||
QSizePolicy.Expanding))
|
||||
self.centralwidget.layout().addWidget(self.bd_splitter)
|
||||
button_order = ('tb', 'cb', 'bd')
|
||||
# }}}
|
||||
|
||||
self.status_bar = StatusBar(self)
|
||||
for x in ('tb', 'cb', 'bd'):
|
||||
for x in button_order:
|
||||
button = getattr(self, x+'_splitter').button
|
||||
button.setIconSize(QSize(24, 24))
|
||||
if isosx:
|
||||
|
Loading…
x
Reference in New Issue
Block a user