I was able to increase the size of notext button with
code
.bigbutton{
height: 40px;
width:40px;
}
/code
but the icon is not centered as you can see from the attached pic. How can I center it? Thanks
Hi Roger,
What component you are using?
If your are using a button component -- it's a standard jQuery component, reference is here.
Try to use:
pre
data-iconpos="notext"
/pre
Sorry didn't saw it first time Roger.
try to use: predata-iconpos="center"/pre
How can I add that?
I try to add it as "add property" and also as CSS, but both don't work for me.
Hi Roger,
Add the following CSS code to shift the icon:
precode.bigbutton .ui-icon{
margin: 10px 0px 0px 11px !important;
}/code/pre
Thanks for the help, it is getting better but it is still not as it should. This is what I get in 4 scenarios with associated code:
case 1:
code
.bigbutton{
height: 30px;
width: 30px;
}
/code
Case 2:
code
.bigbutton .ui-icon{
height: 30px;
width: 30px;
}
/code
Case 3:
code
.bigbutton .ui-icon{
height: 30px;
width: 30px;
margin: 10px 0px 0px 11px !important;
}
/code
Case 4:
code
.bigbutton .ui-icon{
height: 30px;
width: 30px;
margin: -4px 0px 0px 3px !important;
}
/code
Hello! Please try this code:
pre.bigbutton{
height: 40px;
width:40px;
}
.bigbutton .ui-icon{
margin: 10px 0px 0px 11px !important;
}/pre
Hello all
I am building an interface for Andriod and want to deploy icons with functions.
Can you please guide me further
Thanks