v0.92.0: no black corners on windows shown before they were polished; Copy beside Shazams that couldn't be imported, to search by hand
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -544,8 +544,12 @@ def test_every_column_edge_can_be_dragged(qapp):
|
||||
from lintunes.gui import shazam_import as ui
|
||||
window = ui.ShazamImportWindow([_song("a")])
|
||||
preview = ui.ShazamPreviewDialog(_Reader([_song("a")]), set(), [], None)
|
||||
for tree in (window._tree, preview._tree):
|
||||
header = tree.header()
|
||||
for i in range(header.count() - 1):
|
||||
assert header.sectionResizeMode(i) == QHeaderView.ResizeMode.Interactive
|
||||
assert header.stretchLastSection()
|
||||
header = preview._tree.header()
|
||||
for i in range(header.count() - 1):
|
||||
assert header.sectionResizeMode(i) == QHeaderView.ResizeMode.Interactive
|
||||
assert header.stretchLastSection()
|
||||
# Round 128: the import window's last column is Copy, a fixed button;
|
||||
# the song and status edges still drag, and the status fills the rest.
|
||||
header = window._tree.header()
|
||||
for i in (0, 1):
|
||||
assert header.sectionResizeMode(i) == QHeaderView.ResizeMode.Interactive
|
||||
|
||||
Reference in New Issue
Block a user