Episode widget layout tweaks.

This commit is contained in:
Jordan Petridis 2017-10-17 22:52:11 +03:00
parent 339aeb40fa
commit 952fe6b9da
No known key found for this signature in database
GPG Key ID: CEABAD9F5683B9A6
3 changed files with 6 additions and 8 deletions

View File

@ -19,7 +19,7 @@
<object class="GtkLabel" id="title_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">center</property>
<property name="halign">start</property>
<property name="valign">center</property>
<property name="use_markup">True</property>
<property name="wrap">True</property>
@ -36,7 +36,7 @@
<object class="GtkLabel" id="desc_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">center</property>
<property name="halign">start</property>
<property name="valign">center</property>
<property name="use_markup">True</property>
<property name="use_underline">True</property>
@ -52,8 +52,8 @@
</child>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="padding">5</property>
<property name="position">0</property>
</packing>

View File

@ -118,8 +118,6 @@
<property name="width_request">400</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<property name="shadow_type">none</property>
<child>
<placeholder/>

View File

@ -143,8 +143,8 @@ fn episodes_listbox(connection: &SqliteConnection, pd_title: &str) -> gtk::ListB
list.add(&w)
});
list.set_vexpand(true);
list.set_hexpand(true);
list.set_vexpand(false);
list.set_hexpand(false);
list.set_visible(true);
list
}