File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -20,19 +20,21 @@ export component ScriptCard inherits ButtonInterface {
2020 horizontal-stretch : 1 ;
2121 clip : true ;
2222 height : 75px * UAppTheme.scale-factor;
23- HorizontalLayout {
24- alignment : center ;
23+ VerticalLayout {
24+ alignment : start ;
2525 UTitle {
2626 text : name;
2727 color : script-running ? UAppTheme.text-disabled : UAppTheme.text-heading;
2828 level : 6 ;
2929 opacity : root .has-hover ? 0 : 1 ;
3030 wrap : word-wrap;
31+ horizontal-alignment : center;
3132 animate opacity { duration : 250ms ; }
3233 }
3334 }
3435
3536 Rectangle {
37+ z : 40 ;
3638 opacity : root .has-hover ? 1 : 0 ;
3739 animate opacity { duration : 250ms ; }
3840 UCenter {
@@ -61,18 +63,22 @@ export component ScriptCard inherits ButtonInterface {
6163 }
6264
6365 btn-open-output := UIconButton {
66+ opacity : root .pressed ? 0 : 1 ;
6467 horizontal-stretch : 1 ;
6568 enabled : !script-running;
6669 icon : @image-url ("../assets/icons/square-terminal.svg" ) ;
6770 border-radius : UAppTheme.radius-base;
6871 accessible-label : @tr ("Open script's output window." ) ;
72+ animate opacity { duration : 250ms ; }
6973 }
7074
7175 btn-open-settings := UIconButton {
76+ opacity : root .pressed ? 0 : 1 ;
7277 horizontal-stretch : 1 ;
7378 icon : @image-url ("../assets/icons/settings.svg" ) ;
7479 border-radius : UAppTheme.radius-base;
7580 accessible-label : @tr ("Open script's settings." ) ;
81+ animate opacity { duration : 250ms ; }
7682 }
7783 }
7884
You can’t perform that action at this time.
0 commit comments