Commit 9d7cebda authored by Guido Gunther's avatar Guido Gunther
Browse files

media-player: Switch artist and title

Left align and dim artist to get closer to designs

https://gitlab.gnome.org/World/Phosh/phosh/-/issues/543

Signed-off-by: Guido Gunther's avatarGuido Günther <guido.gunther@puri.sm>
parent 7d21feb6
......@@ -73,58 +73,51 @@
<object class="GtkImage" id="img_art">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_left">5</property>
<property name="margin_right">5</property>
<property name="margin_top">5</property>
<property name="margin_bottom">5</property>
<property name="margin">5</property>
<property name="icon_name">audio-x-generic-symbolic</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<property name="margin-left">6</property>
<child>
<object class="GtkLabel" id="lbl_title">
<object class="GtkLabel" id="lbl_artist">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_top">3</property>
<property name="margin_bottom">3</property>
<property name="label" translatable="yes">Unknown Title</property>
<property name="justify">center</property>
<property name="halign">start</property>
<property name="margin-top">3</property>
<property name="label" translatable="yes">Unknown Artist</property>
<property name="ellipsize">middle</property>
<property name="single_line_mode">True</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
<style>
<class name="dim-label"/>
</style>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="lbl_artist">
<object class="GtkLabel" id="lbl_title">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_top">3</property>
<property name="margin_bottom">10</property>
<property name="label" translatable="yes">Unknown Artist</property>
<property name="justify">center</property>
<property name="halign">start</property>
<property name="margin-bottom">3</property>
<property name="label" translatable="yes">Unknown Title</property>
<property name="ellipsize">middle</property>
<property name="single_line_mode">True</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment