Navigation Menu

Skip to content

Commit

Permalink
Improve resume popup
Browse files Browse the repository at this point in the history
  • Loading branch information
andoma committed Sep 2, 2015
1 parent 7ddcaf3 commit 45cfbb0
Showing 1 changed file with 20 additions and 28 deletions.
48 changes: 20 additions & 28 deletions glwskins/flat/popups/resume.view
Expand Up @@ -3,37 +3,29 @@
onEvent(cancel, deliverEvent($self.eventSink));
onEvent(back, deliverEvent($self.eventSink, "cancel"));

widget(container_x, {
space(0.2);

widget(container_y, {
widget(container_y, {

align: center;

widget(label, {
align: center;
caption: $self.title;
});

widget(label, {
align: center;
caption: fmt(_("Resume from %s"),
value2duration($self.position));
});

widget(container_x, {
align: center;
spacing: 20;
homogenous: true;

popupGroup(
filterConstraintX: true;

widget(container_y, {
spacing: 4;

widget(label, {
maxlines: 10;
align: center;
caption: fmt(_("Resume %s from %s"),
$self.title, value2duration($self.position));
});

widget(container_x, {
align: center;
spacing: 20;
homogenous: true;

popupButton(deliverEvent($self.eventSink, "OK"), 1.0, false, _("Yes"));
popupButton(deliverEvent($self.eventSink, "cancel"), 0.5, false,
_("No, Start over"));
});
});
);
popupButton(deliverEvent($self.eventSink, "OK"), 1.0, false, _("Yes"));
popupButton(deliverEvent($self.eventSink, "cancel"), 0.5, false,
_("No, Start over"));
});
space(0.2);
});

0 comments on commit 45cfbb0

Please sign in to comment.