forked from trav/lintunes
v0.31.7: fixed 16px gaps in the top row, panel fills the rest; right inset
The row of boxes keeps one 16px gap before, between and after its controls at every width; the now-playing panel and the seek row under it take all the remaining width. The track lists get the same 8px of bare window on the right that the playlists have on the left. README updates.
This commit is contained in:
@@ -29,7 +29,7 @@ from lintunes.gui.cassette_ui import CassetteUi
|
||||
from lintunes.gui.device_sync_dialog import DeviceSyncSettingsDialog
|
||||
from lintunes.gui.export_dialog import ExportKindDialog, WebMixDialog
|
||||
from lintunes.gui.identify_dialog import IdentifyDialog
|
||||
from lintunes.gui.sidebar import SidebarPanel
|
||||
from lintunes.gui.sidebar import SIDEBAR_INSET, SidebarPanel
|
||||
from lintunes.gui.library_view import LibraryView
|
||||
from lintunes.gui.playlist_view import PlaylistView
|
||||
from lintunes.gui.transport import TransportBar
|
||||
@@ -125,6 +125,9 @@ class MainWindow(QMainWindow):
|
||||
splitter.addWidget(self._sidebar)
|
||||
|
||||
self._content = QStackedWidget()
|
||||
# The same strip of bare window on the right as the sidebar keeps on
|
||||
# the left, so the lists sit symmetrically in the window.
|
||||
self._content.setContentsMargins(0, 0, SIDEBAR_INSET, 0)
|
||||
splitter.addWidget(self._content)
|
||||
splitter.setSizes([220, 1060])
|
||||
splitter.setCollapsible(1, False)
|
||||
|
||||
Reference in New Issue
Block a user