Skip to content

Commit

Permalink
fixed cover sizing
Browse files Browse the repository at this point in the history
  • Loading branch information
SoongNoonien committed Oct 31, 2024
1 parent 59a4a22 commit f5ede05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plattenalbum.py
Original file line number Diff line number Diff line change
Expand Up @@ -1693,11 +1693,11 @@ def __init__(self, client, albumartist, album, date, file=None):
header_bar.pack_end(button)

# cover
album_cover=Gtk.Picture(width_request=200, height_request=200)
album_cover=Gtk.Picture(height_request=200)

# packing
box=Gtk.Box(orientation=Gtk.Orientation.VERTICAL, spacing=30, margin_start=12, margin_end=12, margin_top=24, margin_bottom=24)
box.append(album_cover)
box.append(Adw.Clamp(child=Adw.Clamp(child=album_cover, maximum_size=200), orientation=Gtk.Orientation.VERTICAL, maximum_size=200))
box.append(Adw.Clamp(child=song_list))
self._scroll=Gtk.ScrolledWindow(child=box)#, vexpand=True)
self._scroll.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC)
Expand Down

0 comments on commit f5ede05

Please sign in to comment.