how to increase width of Alert message

881 views
Skip to first unread message

reji

unread,
Apr 2, 2008, 2:28:49 AM4/2/08
to Flex India Community
Hai all.......
iam created a flex application in that i used a alert
message contain 3 button
namely YES,NO,CANCEL ,the problem is when i give font
size verdana 11.
CANCEL button not displaying completly shoing as
CAN..
So if any one know one remedy tel me.........

vRat

unread,
Apr 2, 2008, 5:14:06 AM4/2/08
to Flex India Community
hey

by default Alert's buttonWidth is 60.

by changing buttonWidth as par requirement
may u can solve ur prob
i.e. Alert.buttonWidth = 80 // as par requirement

--Virat Patel

Rahul Sood

unread,
Apr 2, 2008, 5:16:18 AM4/2/08
to flex_...@googlegroups.com
U might want to use a Custom Popup Window, using PopUpManager.
Plz check previous posts on this.
 
regds,
Rahul.

Kalpataru Roy

unread,
Apr 2, 2008, 7:21:07 AM4/2/08
to flex_...@googlegroups.com
 You can also change the size of Alert  box



              var myAlert:Alert  = Alert.show( "Hi","Title",Alert.YES|Alert.NO,this,myCloseHandlert );
                
                myAlert.height     = 100;
                myAlert.width    = 100;
                
                
--
Kalpataru Roy
Mobile :+919850021354
Reply all
Reply to author
Forward
0 new messages