EpisodeWidget: Set title alignment from glade.
This commit is contained in:
parent
b172aa7aa3
commit
4ba82c1515
@ -61,6 +61,8 @@ Tobias Bernard
|
||||
<property name="max_width_chars">64</property>
|
||||
<property name="track_visited_links">False</property>
|
||||
<property name="lines">1</property>
|
||||
<property name="xalign">0</property>
|
||||
<property name="yalign">0</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
|
||||
@ -165,7 +165,6 @@ impl EpisodeWidget {
|
||||
|
||||
/// Determine the title state.
|
||||
fn set_title(&self, episode: &EpisodeWidgetQuery) {
|
||||
self.title.set_xalign(0.0);
|
||||
self.title.set_text(episode.title());
|
||||
|
||||
// Grey out the title if the episode is played.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user