[Confluence] small dialog - part2
authorronie <ronie>
Tue, 7 Jan 2014 23:09:12 +0000 (00:09 +0100)
committerronie <ronie>
Tue, 7 Jan 2014 23:09:12 +0000 (00:09 +0100)
addons/skin.confluence/720p/DialogSelect.xml

index 61318cc..fbf120b 100644 (file)
@@ -10,7 +10,7 @@
        <include>dialogeffect</include>
        <controls>
                <control type="group">
-                       <visible>Control.IsVisible(6) | [Control.IsVisible(3) + Control.IsVisible(5)]</visible>
+                       <visible>Control.IsVisible(5)</visible>
                        <control type="image">
                                <description>background image</description>
                                <left>0</left>
@@ -43,7 +43,7 @@
                </control>
                <control type="group">
                        <left>120</left>
-                       <visible>Control.IsVisible(3) + !Control.IsVisible(5)</visible>
+                       <visible>!Control.IsVisible(5)</visible>
                        <control type="image">
                                <description>background image</description>
                                <left>0</left>
@@ -89,7 +89,7 @@
                        <onright>10</onright>
                        <onup>10</onup>
                        <ondown>10</ondown>
-                       <animation effect="slide" end="-120,0" time="0" condition="Control.IsVisible(3) + !Control.IsVisible(5)">Conditional</animation>
+                       <animation effect="slide" end="-120,0" time="0" condition="!Control.IsVisible(5)">Conditional</animation>
                        <visible>system.getbool(input.enablemouse)</visible>
                </control>
                <control type="list" id="3">
                        <pagecontrol>61</pagecontrol>
                        <scrolltime>200</scrolltime>
                        <animation effect="slide" start="0,0" end="10,0" time="0" condition="!Control.IsVisible(61)">Conditional</animation>
-                       <animation effect="slide" end="120,0" time="0" condition="Control.IsVisible(3) + !Control.IsVisible(5)">Conditional</animation>
+                       <animation effect="slide" end="120,0" time="0" condition="!Control.IsVisible(5)">Conditional</animation>
                        <itemlayout height="46" width="550">
                                <control type="image">
                                        <left>0</left>
                        <pagecontrol>61</pagecontrol>
                        <scrolltime>200</scrolltime>
                        <animation effect="slide" start="0,0" end="10,0" time="0" condition="!Control.IsVisible(61)">Conditional</animation>
+                       <animation effect="slide" end="120,0" time="0" condition="!Control.IsVisible(5)">Conditional</animation>
                        <itemlayout height="85" width="550">
                                <control type="image">
                                        <left>0</left>
                        <onup>61</onup>
                        <showonepage>false</showonepage>
                        <orientation>vertical</orientation>
-                       <animation effect="slide" end="120,0" time="0" condition="Control.IsVisible(3) + !Control.IsVisible(5)">Conditional</animation>
+                       <animation effect="slide" end="120,0" time="0" condition="!Control.IsVisible(5)">Conditional</animation>
                </control>
                <control type="label">
                        <description>number of files/pages in list text label</description>
                        <textcolor>grey</textcolor>
                        <label>([COLOR=blue]$INFO[Container(6).NumItems][/COLOR]) $LOCALIZE[31025] - $LOCALIZE[31024] ([COLOR=blue]$INFO[Container(6).CurrentPage]/$INFO[Container(6).NumPages][/COLOR])</label>
                        <wrapmultiline>true</wrapmultiline>
+                       <animation effect="slide" end="-120,30" time="0" condition="!Control.IsVisible(5)">Conditional</animation>
                        <visible>Control.IsVisible(6)</visible>
                </control>
                <control type="button" id="5">
                <control type="group">
                        <left>610</left>
                        <top>320</top>
-                       <visible>Control.IsVisible(6)</visible>
+                       <visible>Control.IsVisible(6) + Control.IsVisible(5)</visible>
                        <control type="image">
                                <left>0</left>
                                <top>0</top>