C cstangor Member Licensed User Longtime User Jan 5, 2013 #1 I created a design in the abstract designer and it worked fine on my smartphone and on the basic emulator. But now I have the UI cloud version of the program and my design looks completely off on all of those devices. It doesn't look at all like the abstract designer. This is discouraging! Am I right to assume that we must always write a full designer code even for simple designs? Thanks
I created a design in the abstract designer and it worked fine on my smartphone and on the basic emulator. But now I have the UI cloud version of the program and my design looks completely off on all of those devices. It doesn't look at all like the abstract designer. This is discouraging! Am I right to assume that we must always write a full designer code even for simple designs? Thanks
JonPM Well-Known Member Licensed User Longtime User Jan 5, 2013 #2 Can you post your project or some code? It's hard to help you without seeing anything. Upvote 0
mc73 Well-Known Member Licensed User Longtime User Jan 5, 2013 #3 cstangor said: Am I right to assume that we must always write a full designer code even for simple designs? Click to expand... Apart from applying autoScaleAll, I think there is no need for coding everything, at least for simple designs. I suggest you read (if not already did so) Erel's and Klaus' tutorials upon handling different size screens. Upvote 0
cstangor said: Am I right to assume that we must always write a full designer code even for simple designs? Click to expand... Apart from applying autoScaleAll, I think there is no need for coding everything, at least for simple designs. I suggest you read (if not already did so) Erel's and Klaus' tutorials upon handling different size screens.
lagore Active Member Licensed User Longtime User Jan 5, 2013 #4 Also have a look at Klaus's fine 'Scale Code module' the advantage with this is it works with both designer and code generated views and it can scales in both the x and y planes differently thereby corrects for different ratio phones. Upvote 0
Also have a look at Klaus's fine 'Scale Code module' the advantage with this is it works with both designer and code generated views and it can scales in both the x and y planes differently thereby corrects for different ratio phones.
C cstangor Member Licensed User Longtime User Jan 6, 2013 #5 Thanks Edward... I didn't know about this one (go Klaus!) My feeling now is that pretty much anything, no matter how simple, is going to require some variant coding if we expect our apps to appear properly across multiple devices. Upvote 0
Thanks Edward... I didn't know about this one (go Klaus!) My feeling now is that pretty much anything, no matter how simple, is going to require some variant coding if we expect our apps to appear properly across multiple devices.
klaus Expert Licensed User Longtime User Jan 6, 2013 #6 One or more variants for each orientation depend on what you want to display on the screens. Have a look at: Designer Scripts & AutoScale Tutorial AutoScale Code Module link already given by lagore. Best regards. Upvote 0
One or more variants for each orientation depend on what you want to display on the screens. Have a look at: Designer Scripts & AutoScale Tutorial AutoScale Code Module link already given by lagore. Best regards.