After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 699615 - Album view layout
Album view layout
Status: RESOLVED FIXED
Product: gnome-music
Classification: Applications
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-music-maint
gnome-music-maint
Depends on:
Blocks:
 
 
Reported: 2013-05-03 18:08 UTC by Allan Day
Modified: 2013-05-06 16:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
album view layout guidance (151.62 KB, image/png)
2013-05-03 18:08 UTC, Allan Day
  Details
patch (11.35 KB, patch)
2013-05-04 15:12 UTC, Allan Day
none Details | Review
patch (11.30 KB, patch)
2013-05-04 15:19 UTC, Allan Day
none Details | Review

Description Allan Day 2013-05-03 18:08:57 UTC
Created attachment 243238 [details]
album view layout guidance

Right now there are quite a few issues with the album view layout:

 * The track list gets too wide, and the track duration gets too close to the edge of the window
 * The content of the view isn't properly horizontally centered
 * The album art and album name get too close to the edge of the window

The attachment outlines the various regions of the view:

 A - a variable distance with a minimum value of about 100px.
 B - a fixed width box which has the same width as the album art. The album name should wrap inside the box, rather than overlapping the edges of the album art.
 C - a fixed width of about 60px.
 D - a variable width box with a minimum width of 300px and a maximum width of 430px. D should expand to fill as much space as available to it.
 E - a variable width box which is no bigger than its content. E is horizontally centered within the window.
Comment 1 Allan Day 2013-05-04 15:12:20 UTC
Created attachment 243291 [details] [review]
patch

After quite a bit of playing around with Glade, this is the best I could get it.
Comment 2 Allan Day 2013-05-04 15:19:34 UTC
Created attachment 243292 [details] [review]
patch

I tweaked the last patch very slightly.
Comment 3 Seif Lotfy 2013-05-06 16:52:41 UTC
Works like charm
Thanks Allan