You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pivot.apache.org by pan peter <pa...@gmail.com> on 2011/10/27 15:26:38 UTC
can we make some transparent dialog?
now i want a busy indicator, but i don't like a dialog to place the indicator
on it. can the dialog be transparent so that user only see the indicator?
--
View this message in context: http://apache-pivot-users.399431.n3.nabble.com/can-we-make-some-transparent-dialog-tp3457642p3457642.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.
Re: can we make some transparent dialog?
Posted by pan peter <pa...@gmail.com>.
yes, that works :-)
--
View this message in context: http://apache-pivot-users.399431.n3.nabble.com/can-we-make-some-transparent-dialog-tp3457642p3460922.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.
Re: can we make some transparent dialog?
Posted by Greg Brown <gk...@verizon.net>.
Put it in a BoxPane and put the BoxPane in the StackPane.
On Oct 28, 2011, at 5:38 AM, pan peter <pa...@gmail.com> wrote:
> actually now i have to ask another stupid question: how can i set the
> indicator size? after i put it into the stack pane, it covers the whole
> page, no matter i set miximum height, preferred height, height limit, size,
> it is always a huge indicator across the screen.
>
> any suggestions?
>
> --
> View this message in context: http://apache-pivot-users.399431.n3.nabble.com/can-we-make-some-transparent-dialog-tp3457642p3460505.html
> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.
Re: can we make some transparent dialog?
Posted by pan peter <pa...@gmail.com>.
actually now i have to ask another stupid question: how can i set the
indicator size? after i put it into the stack pane, it covers the whole
page, no matter i set miximum height, preferred height, height limit, size,
it is always a huge indicator across the screen.
any suggestions?
--
View this message in context: http://apache-pivot-users.399431.n3.nabble.com/can-we-make-some-transparent-dialog-tp3457642p3460505.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.
Re: can we make some transparent dialog?
Posted by pan peter <pa...@gmail.com>.
actually it works after i set it to be active from java code :-)
--
View this message in context: http://apache-pivot-users.399431.n3.nabble.com/can-we-make-some-transparent-dialog-tp3457642p3460468.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.
Re: can we make some transparent dialog?
Posted by pan peter <pa...@gmail.com>.
how to do that? I made something like
<menus:MainWindow>
<StackPane bxml:id="realPageShowGui">
<Border>
......................
</Border>
</StackPane>
<StackPane bxml:id="transparentPageShowIndicator">
<ActivityIndicator bxml:id="activityIndicator3"
styles="{color:16}"
preferredWidth="96" preferredHeight="96"/>
</StackPane>
</menus:MainWindow>
then i cannot see the indicator.
--
View this message in context: http://apache-pivot-users.399431.n3.nabble.com/can-we-make-some-transparent-dialog-tp3457642p3460445.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.
Re: can we make some transparent dialog?
Posted by Greg Brown <gk...@verizon.net>.
Yes, but you may be better off using a StackPane for this.
On Oct 27, 2011, at 9:26 AM, pan peter <pa...@gmail.com> wrote:
> now i want a busy indicator, but i don't like a dialog to place the indicator
> on it. can the dialog be transparent so that user only see the indicator?
>
> --
> View this message in context: http://apache-pivot-users.399431.n3.nabble.com/can-we-make-some-transparent-dialog-tp3457642p3457642.html
> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.