move labels on cover panel to the right and use CSS for styling
This commit is contained in:
parent
898f59bd42
commit
c031630379
3 changed files with 93 additions and 92 deletions
|
|
@ -816,25 +816,19 @@ class CoverPanel(mcg.Base):
|
|||
|
||||
def set_album(self, album):
|
||||
# Set labels
|
||||
self._album_title_label.set_markup(
|
||||
"<b><big>{}</big></b>".format(
|
||||
GObject.markup_escape_text(
|
||||
album.get_title()
|
||||
)
|
||||
self._album_title_label.set_label(
|
||||
GObject.markup_escape_text(
|
||||
album.get_title()
|
||||
)
|
||||
)
|
||||
self._album_date_label.set_markup(
|
||||
"<big>{}</big>".format(
|
||||
GObject.markup_escape_text(
|
||||
', '.join(album.get_dates())
|
||||
)
|
||||
GObject.markup_escape_text(
|
||||
', '.join(album.get_dates())
|
||||
)
|
||||
)
|
||||
self._album_artist_label.set_markup(
|
||||
"<big>{}</big>".format(
|
||||
GObject.markup_escape_text(
|
||||
', '.join(album.get_artists())
|
||||
)
|
||||
GObject.markup_escape_text(
|
||||
', '.join(album.get_artists())
|
||||
)
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue