[gnome-music/wip/jfelder/new-playertoolbar: 3/10] playertoolbar: Increase art size
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/new-playertoolbar: 3/10] playertoolbar: Increase art size
- Date: Thu, 28 Jan 2021 16:53:05 +0000 (UTC)
commit df4dc0cd5b3757cc689f5385cc9d9c6d88c1b4d4
Author: Jean Felder <jfelder src gnome org>
Date: Thu Jan 28 16:23:10 2021 +0100
playertoolbar: Increase art size
This increases the ArstSize.SMALL size from 34x34 to 68x68.
data/ui/PlayerToolbar.ui | 3 +++
gnomemusic/utils.py | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/data/ui/PlayerToolbar.ui b/data/ui/PlayerToolbar.ui
index a860aa533..11fc1b790 100644
--- a/data/ui/PlayerToolbar.ui
+++ b/data/ui/PlayerToolbar.ui
@@ -123,6 +123,7 @@
<property name="receives_default">True</property>
<property name="image">previous_image</property>
<property name="always_show_image">True</property>
+ <property name="valign">center</property>
<property name="tooltip_text" translatable="yes">Previous</property>
<signal name="clicked" handler="_on_prev_button_clicked" swapped="no"/>
</object>
@@ -136,6 +137,7 @@
<property name="receives_default">True</property>
<property name="image">_play_image</property>
<property name="always_show_image">True</property>
+ <property name="valign">center</property>
<property name="tooltip_text" translatable="yes">Play</property>
<signal name="clicked" handler="_on_play_button_clicked" swapped="no"/>
</object>
@@ -149,6 +151,7 @@
<property name="receives_default">True</property>
<property name="image">next_image</property>
<property name="always_show_image">True</property>
+ <property name="valign">center</property>
<property name="tooltip_text" translatable="yes">Next</property>
<signal name="clicked" handler="_on_next_button_clicked" swapped="no"/>
</object>
diff --git a/gnomemusic/utils.py b/gnomemusic/utils.py
index e4fbed815..0eeeb898d 100644
--- a/gnomemusic/utils.py
+++ b/gnomemusic/utils.py
@@ -35,7 +35,7 @@ from gnomemusic.musiclogger import MusicLogger
class ArtSize(Enum):
"""Enum for icon sizes"""
- SMALL = (34, 34)
+ SMALL = (68, 68)
MEDIUM = (128, 128)
LARGE = (256, 256)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]