From: Domenico De F. <dom...@gm...> - 2011-04-02 21:34:38
|
Hi, I found an Objective-C example that worked and wanted to replicate it. In fact I think that's not the best way of doing it, but I couldn't find any other. I wonder if there is an official way of customizing dialogs. Still it seems strange that the getCenter() method doesn't work on the dialog while the getBounds() does. Domenico De Fano Le 2 avr. 2011 à 23:13, Arno Puder a écrit : > > to be honest, I don't think this is an XMLVM related problem. Although > UIAlertView inherits from UIView, I'm not sure if you are supposed to > add subviews. > > Any Cocoa Touch cracks out there? > > Arno > > > On 4/2/11 12:38 PM, Domenico De Fano wrote: >> Hi, >> >> Thank you Arno for your help, you're right. I noticed yesterday that I was >> trying to use the Java simulator classes to modify the behavior of the >> Obj-C application. >> However I'm still having problems in positioning the gear inside the >> alert. In fact, since I have some dinamically generated message in the >> alert, its dimension and position should be dynamic too. >> If I just insert the gear as a subview of the alert I get it into a >> weird position on the left side of the screen. I tried to use the >> getCenter() method of the alert in order to position the gear always in >> the alerts' center, but it doesn't seem to work. Do you know what that >> might be? >> >> Thanks, >> >> Domenico De Fano >> >> >> >> ------------------------------------------------------------------------------ >> Create and publish websites with WebMatrix >> Use the most popular FREE web apps or write code yourself; >> WebMatrix provides all the features you need to develop and >> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf >> >> >> >> _______________________________________________ >> Xmlvm-developers mailing list >> Xml...@li... >> https://lists.sourceforge.net/lists/listinfo/xmlvm-developers > > ------------------------------------------------------------------------------ > Create and publish websites with WebMatrix > Use the most popular FREE web apps or write code yourself; > WebMatrix provides all the features you need to develop and > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > _______________________________________________ > Xmlvm-developers mailing list > Xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-developers |