ShowWidget: Set max_width_charters in the Description.
If the window is fullscreen or given a big width description expands and becomes harder to read. This sets the character limit of the description to 70charaters. The exact size might differ from machine-to-machine based on user settings. (Hi-dpi, chosen font, etc.)
This commit is contained in:
parent
37c7f20256
commit
d86a17f76e
@ -114,11 +114,14 @@ Tobias Bernard
|
|||||||
<object class="GtkLabel" id="description">
|
<object class="GtkLabel" id="description">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
|
<property name="halign">center</property>
|
||||||
|
<property name="valign">center</property>
|
||||||
<property name="label">This is embarrasing!
|
<property name="label">This is embarrasing!
|
||||||
Sorry, we could not find a description for this Show.</property>
|
Sorry, we could not find a description for this Show.</property>
|
||||||
<property name="use_markup">True</property>
|
<property name="use_markup">True</property>
|
||||||
<property name="justify">center</property>
|
<property name="justify">center</property>
|
||||||
<property name="wrap">True</property>
|
<property name="wrap">True</property>
|
||||||
|
<property name="max_width_chars">70</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user