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:
Jordan Petridis 2018-05-02 19:29:55 +03:00
parent 37c7f20256
commit d86a17f76e
No known key found for this signature in database
GPG Key ID: CEABAD9F5683B9A6

View File

@ -114,11 +114,14 @@ Tobias Bernard
<object class="GtkLabel" id="description">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">center</property>
<property name="valign">center</property>
<property name="label">This is embarrasing!
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>
</object>
</child>
</object>