ShowWidget: Change description wrap mode
This commit is contained in:
parent
efc4e299ac
commit
cb122cbc61
@ -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> {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user