getwired
06-09-2005, 08:18 AM
Yet another question... :-) I am having a problem making text invisible. I am currently making my entire view turn to opacity of 0, and all goes away but the text it contains. I've tried satting visibility of the text to false, but again no luck. Anyone else encounter this problem?
In the case below... When I set wizTxt to opacity of 0 and also set it to invisible, all of the text contained within the testTxt text element, as well as the text contained in the button and next to the checkbox, remain visible...
<view name="wizTxt" width="${parent.width}" height="${parent.height}" visible="true">
<text name="testTxt" x="10" y="10" width="${parent.width - 20}" height="${parent.height - 20}" multiline="true">
<font face="serifont" size="16">
<p>Some text.</p>
<p>Some more text.</p>
</font>
</text>
<view x="${parent.width - 230}" y="${parent.height - 40}">
<checkbox x="12" id="dontShow" text="skip this next time" value="false"/>
<button height="20" text="continue" onclick="wizImg.bending_move.doStart()" />
<simplelayout axis="x" spacing="12"/>
</view>
</view>
</view>
<view x="${parent.width - 230}" y="${parent.height - 40}">
<checkbox x="12" id="dontShow" text="skip this next time" value="false"/>
<button height="20" text="continue" onclick="wizImg.bending_move.doStart()" />
<simplelayout axis="x" spacing="12"/>
</view>
</view>
In the case below... When I set wizTxt to opacity of 0 and also set it to invisible, all of the text contained within the testTxt text element, as well as the text contained in the button and next to the checkbox, remain visible...
<view name="wizTxt" width="${parent.width}" height="${parent.height}" visible="true">
<text name="testTxt" x="10" y="10" width="${parent.width - 20}" height="${parent.height - 20}" multiline="true">
<font face="serifont" size="16">
<p>Some text.</p>
<p>Some more text.</p>
</font>
</text>
<view x="${parent.width - 230}" y="${parent.height - 40}">
<checkbox x="12" id="dontShow" text="skip this next time" value="false"/>
<button height="20" text="continue" onclick="wizImg.bending_move.doStart()" />
<simplelayout axis="x" spacing="12"/>
</view>
</view>
</view>
<view x="${parent.width - 230}" y="${parent.height - 40}">
<checkbox x="12" id="dontShow" text="skip this next time" value="false"/>
<button height="20" text="continue" onclick="wizImg.bending_move.doStart()" />
<simplelayout axis="x" spacing="12"/>
</view>
</view>