v0.31.8: gap between playlists and songs matches the left inset
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -169,3 +169,12 @@ def test_row_is_knolled_with_equal_gaps_and_ends(qapp, tmp_path):
|
||||
# The same GAP everywhere, ends included, at every width.
|
||||
left_end, right_end = edges[0][0], bar.width() - 1 - edges[-1][1]
|
||||
assert gaps + [left_end, right_end] == [GAP] * 7
|
||||
|
||||
|
||||
def test_gap_between_playlists_and_songs_matches_left_inset(qapp, tmp_path):
|
||||
from lintunes.gui.sidebar import SIDEBAR_INSET
|
||||
window = _window(qapp, tmp_path)
|
||||
lists = window._sidebar.list_area
|
||||
left = _x(lists, window)
|
||||
gap = _x(window._content, window) - (left + lists.width())
|
||||
assert left == gap == SIDEBAR_INSET
|
||||
|
||||
Reference in New Issue
Block a user