From 90461fb325d368d89fb498dd3dd8c8c5ae69b91b Mon Sep 17 00:00:00 2001 From: Nokse22 Date: Tue, 2 Apr 2024 21:59:38 +0200 Subject: [PATCH] improved ui --- src/ui/pages_ui/page_template.ui | 11 +- src/ui/pages_ui/tracks_list_template.ui | 320 +++++++++++++++--------- src/ui/widgets/card_widget.ui | 2 +- src/window.ui | 9 +- 4 files changed, 210 insertions(+), 132 deletions(-) diff --git a/src/ui/pages_ui/page_template.ui b/src/ui/pages_ui/page_template.ui index 2920fff..a0f915d 100644 --- a/src/ui/pages_ui/page_template.ui +++ b/src/ui/pages_ui/page_template.ui @@ -4,14 +4,13 @@ - - vertical - + + + - flat - + True @@ -26,6 +25,6 @@ - + diff --git a/src/ui/pages_ui/tracks_list_template.ui b/src/ui/pages_ui/tracks_list_template.ui index b31dd7a..707c479 100644 --- a/src/ui/pages_ui/tracks_list_template.ui +++ b/src/ui/pages_ui/tracks_list_template.ui @@ -4,134 +4,214 @@ - - vertical - True - - - 1000 - 700 - start - true - - - 10 - 10 - - - max-width: 400px - 60 - - - - - start - - - emblem-music-symbolic - small-image - hidden - 12 - 12 - 12 - 12 - 100 - - - - - True - 12 - vertical - - - title-2 - end - True - 0.0 - - - - - dim-label - end - True - 0.0 - - - - - dim-label - end - True - 0.0 - - - - - false - - - - - - - end - 12 - 6 - center - - - heart-outline-thick-symbolic - flat - - - - - media-playlist-shuffle-symbolic - flat + + 10 + 300 + + + max-width: 400px + + true + false + + + + + True + True + + + vertical + + + 1000 + 700 + start + true + + + vertical + + + + start + + + emblem-music-symbolic + small-image + hidden + 12 + 12 + 12 + 12 + 100 + + + + + True + 12 + vertical + + + title-2 + end + True + 0.0 + + + + + dim-label + end + True + 0.0 + + + + + dim-label + end + True + 0.0 + + + + + false + + + + + + + end + 12 + 6 + center + + + heart-outline-thick-symbolic + flat + + + + + media-playlist-shuffle-symbolic + flat + + + + + suggested-action + media-playback-start-symbolic + + + + - - - suggested-action - media-playback-start-symbolic - - - - - - + + + + 200 + vertical + 12 + false + 12 + 12 + 12 + 12 + + + small-image + center + emblem-music-symbolic + 160 + hidden + + + + + + title-1 + start + + + + + + dim-label + start + true + center + + + + + + center + 12 + center + + + pill +suggested-action + media-playback-start-symbolic + + + + + pill + media-playlist-shuffle-symbolic + + + + + circular +flat + list-add-symbolic + center + + + + + + + + + + + + + + + start - - - - - start - - - - - True - - True - 1000 - 700 - - - start - 12 - 12 - 12 - 12 - boxed-list + + + + + True + 1000 + 700 + + + start + 12 + 12 + 12 + 12 + boxed-list + + - - + + diff --git a/src/ui/widgets/card_widget.ui b/src/ui/widgets/card_widget.ui index c53d68d..380a142 100644 --- a/src/ui/widgets/card_widget.ui +++ b/src/ui/widgets/card_widget.ui @@ -24,7 +24,7 @@ center emblem-music-symbolic - 180 + 155 center card-image diff --git a/src/window.ui b/src/window.ui index 3a87633..9913b83 100644 --- a/src/window.ui +++ b/src/window.ui @@ -39,7 +39,7 @@ - normal_view + slide-up-down @@ -643,7 +643,7 @@ flat 12 - song_page + @@ -658,6 +658,8 @@ flat 12 12 + 12 + 12 600 400 px @@ -807,13 +809,10 @@ circular - - - emblem-music-symbolic song_page