Commit cb122cbc authored by Jordan Petridis's avatar Jordan Petridis 🌱

ShowWidget: Change description wrap mode

parent efc4e299
......@@ -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>
......
......@@ -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> {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment