From 952fe6b9da775b3925470cc4280803b75633b345 Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Tue, 17 Oct 2017 22:52:11 +0300 Subject: [PATCH] Episode widget layout tweaks. --- hammond-gtk/gtk/EpisodeWidget.ui | 8 ++++---- hammond-gtk/gtk/podcast_widget.ui | 2 -- hammond-gtk/src/main.rs | 4 ++-- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/hammond-gtk/gtk/EpisodeWidget.ui b/hammond-gtk/gtk/EpisodeWidget.ui index 68327d3..99818c1 100644 --- a/hammond-gtk/gtk/EpisodeWidget.ui +++ b/hammond-gtk/gtk/EpisodeWidget.ui @@ -19,7 +19,7 @@ True False - center + start center True True @@ -36,7 +36,7 @@ True False - center + start center True True @@ -52,8 +52,8 @@ - True - True + False + False 5 0 diff --git a/hammond-gtk/gtk/podcast_widget.ui b/hammond-gtk/gtk/podcast_widget.ui index 37302be..c936624 100644 --- a/hammond-gtk/gtk/podcast_widget.ui +++ b/hammond-gtk/gtk/podcast_widget.ui @@ -118,8 +118,6 @@ 400 True False - True - True none diff --git a/hammond-gtk/src/main.rs b/hammond-gtk/src/main.rs index 87fcdaf..a52b273 100644 --- a/hammond-gtk/src/main.rs +++ b/hammond-gtk/src/main.rs @@ -143,8 +143,8 @@ fn episodes_listbox(connection: &SqliteConnection, pd_title: &str) -> gtk::ListB list.add(&w) }); - list.set_vexpand(true); - list.set_hexpand(true); + list.set_vexpand(false); + list.set_hexpand(false); list.set_visible(true); list }