The shape of option button on iOS is ugly...
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
The shape of option button on iOS is ugly...
This is the shape of the same option button shown on iOS device.
The shape of the button shown on iOS is terrible. How can I get rid of the right part to just show the number?
Is this default look of a button changeable in livecode?
Thanks,
Michael
Re: The shape of option button on iOS is ugly...
Hi Michael,
unfortunately the Livecode native "Look and feel" of objects on iOS
is "Emulated motif" and you cannot do anything against this.
Except "rolling your own" or using this:
http://mobgui.com
Or this:
http://tmtools.tactilemedia.com/tmcontrol/
Supplying native mobile controls is on the to do list, but might take a while
before its is ready...
Best
Klaus
unfortunately the Livecode native "Look and feel" of objects on iOS
is "Emulated motif" and you cannot do anything against this.
Except "rolling your own" or using this:
http://mobgui.com
Or this:
http://tmtools.tactilemedia.com/tmcontrol/
Supplying native mobile controls is on the to do list, but might take a while
before its is ready...
Best
Klaus
Re: The shape of option button on iOS is ugly...
Hi Michael,
You don't have to use buttons to get a button...errr... OK, what I mean is an image can be used instead of a button. It's all in scripting as to what the object does.
I've attached a simple stack for you to see.
Simon
You don't have to use buttons to get a button...errr... OK, what I mean is an image can be used instead of a button. It's all in scripting as to what the object does.
I've attached a simple stack for you to see.
Simon
- Attachments
-
- Drop_down.zip
- LC 6.1
- (5.6 KiB) Downloaded 400 times
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: The shape of option button on iOS is ugly...
Hi, Klaus, thanks for the links. I've tried other ways to make buttons look better in iOS devices. That would be probably enough on "looking" level.Klaus wrote:Hi Michael,
unfortunately the Livecode native "Look and feel" of objects on iOS
is "Emulated motif" and you cannot do anything against this.
Except "rolling your own" or using this:
http://mobgui.com
Or this:
http://tmtools.tactilemedia.com/tmcontrol/
Supplying native mobile controls is on the to do list, but might take a while
before its is ready...
Best
Klaus

Michael
Re: The shape of option button on iOS is ugly...
Simon wrote:Hi Michael,
You don't have to use buttons to get a button...errr... OK, what I mean is an image can be used instead of a button. It's all in scripting as to what the object does.
I've attached a simple stack for you to see.
Simon
Hi, Simon
I've read the script in the livecode file you provided. That was really a great clue for me. I did not need to have a button, one image with scripts will achieve the goal.
Thanks! By the way, do you know how activate the keyboard of "number only" and display the value in a field?
Michael
Re: The shape of option button on iOS is ugly...
Look up mobileSetKeyboardType in the dictionary.
Simon
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!