EpisodesViewWidget: Add margins from the cover.
This commit is contained in:
parent
fac048a24d
commit
ae6a97d725
@ -5,10 +5,14 @@
|
||||
<object class="GtkBox" id="container">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="spacing">6</property>
|
||||
<child>
|
||||
<object class="GtkImage" id="cover">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="margin_left">6</property>
|
||||
<property name="margin_top">6</property>
|
||||
<property name="margin_bottom">6</property>
|
||||
<property name="pixel_size">64</property>
|
||||
<property name="icon_name">image-x-generic-symbolic</property>
|
||||
</object>
|
||||
|
||||
@ -207,7 +207,7 @@ impl Default for EpisodesViewWidget {
|
||||
let container: gtk::Box = builder.get_object("container").unwrap();
|
||||
let image: gtk::Image = builder.get_object("cover").unwrap();
|
||||
let ep = EpisodeWidget::default();
|
||||
container.pack_start(&ep.container, true, true, 5);
|
||||
container.pack_start(&ep.container, true, true, 6);
|
||||
|
||||
EpisodesViewWidget {
|
||||
container,
|
||||
@ -233,7 +233,7 @@ impl EpisodesViewWidget {
|
||||
}
|
||||
|
||||
let ep = EpisodeWidget::new(episode);
|
||||
container.pack_start(&ep.container, true, true, 5);
|
||||
container.pack_start(&ep.container, true, true, 6);
|
||||
|
||||
EpisodesViewWidget {
|
||||
container,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user