ShowWidget: Change description wrap mode

This commit is contained in:
Jordan Petridis 2018-08-14 13:59:42 +03:00
parent efc4e299ac
commit cb122cbc61
No known key found for this signature in database
GPG Key ID: CEABAD9F5683B9A6
2 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ Sorry, we could not find a description for this Show.</property>
<property name="use_markup">True</property>
<property name="justify">center</property>
<property name="wrap">True</property>
<property name="max_width_chars">70</property>
<property name="wrap_mode">word-char</property>
</object>
</child>
</object>

View File

@ -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<i32> {