Permalink
Browse files

Make the list right pane scroll in/out behave better

  • Loading branch information...
1 parent adb5988 commit f3112287c3b25097d8266abeea840d829aa86c72 @andoma committed Sep 15, 2016
View
4 glwskins/flat/items/details/nothing.view
@@ -1,3 +1 @@
-widget(container_z, {
- width: 0;
-});
+width: 0;
View
13 glwskins/flat/items/details/video.view
@@ -12,6 +12,8 @@
});
}
+delta($parentview.expanded, !isPreloaded());
+
widget(container_y, {
width: $ui.width / 2;
margin: [0.5em, 3.5em, 0.5em, 0];
@@ -53,13 +55,6 @@ widget(container_y, {
widget(container_x, {
height: 7em;
spacing: 0.5em;
- widget(segway, {
- direction: "left";
- widget(image, {
- aspectConstraint: true;
- source: $self.metadata.icon;
- });
- });
widget(container_y, {
filterConstraintX: true;
@@ -131,6 +126,10 @@ widget(container_y, {
space(1);
});
});
+ widget(image, {
+ aspectConstraint: true;
+ source: $self.metadata.icon;
+ });
});
space(1);
widget(label, {
View
7 glwskins/flat/pages/list.view
@@ -43,9 +43,12 @@ widget(container_z, {
ScrollBar("scrollable", 3em, $ui.universeBottomHeight);
});
- widget(segway, {
- direction: "right";
+ widget(expander_x, {
+ expansion: iir(delay(select($view.expanded, 1.0, 0.0), 0.1, 1.0), 4);
+ alwaysLayout: true;
widget(deck, {
+ width: $ui.width / 2;
+
effect: slideVertical;
time: 0.4;
noInitialTransform: true;

0 comments on commit f311228

Please sign in to comment.