From cb122cbc610e48177158b802ae9098789ef32550 Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Tue, 14 Aug 2018 13:59:42 +0300 Subject: [PATCH] ShowWidget: Change description wrap mode --- podcasts-gtk/resources/gtk/show_widget.ui | 2 +- podcasts-gtk/src/widgets/show.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/podcasts-gtk/resources/gtk/show_widget.ui b/podcasts-gtk/resources/gtk/show_widget.ui index e1102ea..e66edd4 100644 --- a/podcasts-gtk/resources/gtk/show_widget.ui +++ b/podcasts-gtk/resources/gtk/show_widget.ui @@ -79,7 +79,7 @@ Sorry, we could not find a description for this Show. True center True - 70 + word-char diff --git a/podcasts-gtk/src/widgets/show.rs b/podcasts-gtk/src/widgets/show.rs index 1be20a5..e4f47be 100644 --- a/podcasts-gtk/src/widgets/show.rs +++ b/podcasts-gtk/src/widgets/show.rs @@ -93,7 +93,7 @@ impl ShowWidget { /// Set the description text. fn set_description(&self, text: &str) { self.description - .set_markup(html2text::from_read(text.as_bytes(), 90).trim()); + .set_markup(html2text::from_read(text.as_bytes(), 80).trim()); } pub(crate) fn show_id(&self) -> Option {