Button stylings for mobile
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 379
- Joined: Thu Dec 08, 2011 2:43 am
Button stylings for mobile
Has anyone come up with some style settings that result in decent looking buttons without have to use icons? I'm working on an app where I want the button names to show, so I'd like to avoid using icons.
Re: Button stylings for mobile
Hi,
I think icon way for btns is the best way.
If you want display btn's name why not making an icon with text ?
You can do this and create effects useful for hilite and avoïd eventuals fonts problemes.
Best regards
Jean-Marc
I think icon way for btns is the best way.
If you want display btn's name why not making an icon with text ?
You can do this and create effects useful for hilite and avoïd eventuals fonts problemes.
Best regards
Jean-Marc
https://alternatic.ch
-
- Posts: 379
- Joined: Thu Dec 08, 2011 2:43 am
Re: Button stylings for mobile
Yes, I agree with you. However in this case I am generating the buttons via script.
Re: Button stylings for mobile
Yes, you can do a mercery. I use two groups one for icon one for hiliteIconI am generating the buttons via script.
Best regards
Jean-Marc
https://alternatic.ch
-
- Posts: 379
- Joined: Thu Dec 08, 2011 2:43 am
Re: Button stylings for mobile
I want the button name to be on the button itself, not below. Unless I'm mistaken, once I use an icon this is not possible.
Re: Button stylings for mobile
Yes. You have to set the showname of btn bMyBtnName to falseI want the button name to be on the button itself, not below. Unless I'm mistaken, once I use an icon this is not possible.
You can put the title in the icon
To do I build a group with a grc and a fld
Pseudocode
Place you field with the btn title to the loc of your grc
Select both
Groups
set the name of this group to grMyBtnName
Import snapshot from group grMyBtnName
set the name of last img to iMyBtnName
new btn
set the name of last btn to bMyBtnName
set the icon of btn bMyBtnName to the short id of img iMyBtnName
set the showname of btn bMyBtnName to false
And the same for hiliteIcon
Jean-Marc
https://alternatic.ch
Re: Button stylings for mobile
Check the iconGravity property in the dictionary, it may do what you need.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- Posts: 379
- Joined: Thu Dec 08, 2011 2:43 am
Re: Button stylings for mobile
Thanks Jacque, that was it.