diff --git a/podcasts-gtk/resources/gtk/episode_widget.ui b/podcasts-gtk/resources/gtk/episode_widget.ui index 066485b..59043e9 100644 --- a/podcasts-gtk/resources/gtk/episode_widget.ui +++ b/podcasts-gtk/resources/gtk/episode_widget.ui @@ -44,8 +44,10 @@ Tobias Bernard False + 230 True False + start vertical 6 @@ -61,7 +63,7 @@ Tobias Bernard False - True + False 0 @@ -205,23 +207,53 @@ Tobias Bernard - + True False - center + end + 6 - - Cancel + True - False + True + True + Play this episode center center + + + True + False + media-playback-start-symbolic + + + + + False + False + 0 + + + + + True + False + Cancel the download proccess + center + center + + + True + False + edit-delete-symbolic + + False False end - 0 + 1 @@ -241,34 +273,10 @@ Tobias Bernard - - False - False - 1 - True - - - - - True - True - True - Play this episode - center - center - - - True - False - media-playback-start-symbolic - - - False False 2 - True diff --git a/podcasts-gtk/src/widgets/episode.rs b/podcasts-gtk/src/widgets/episode.rs index 940148a..20823c9 100644 --- a/podcasts-gtk/src/widgets/episode.rs +++ b/podcasts-gtk/src/widgets/episode.rs @@ -65,7 +65,7 @@ struct InfoLabels { #[derive(Clone, Debug)] struct Buttons { - container: gtk::ButtonBox, + container: gtk::Box, play: gtk::Button, download: gtk::Button, cancel: gtk::Button,