PDA

View Full Version : Resize buttons



boroda
Apr 06, 2011, 8:49 AM
Is it possible to change the size of the button?

danielg
Apr 06, 2011, 11:00 AM
The "Tool" icons are part of a sprite (single image which contains multiple icons), so you would need to create a new sprite with larger icons, then use the CSS below to specify the new height/width, plus the URL to the new sprite file. You'd also need to change the offsets of each of the icons within the sprite.



.x-tool
{
width: 20px !important;
height: 20px !important;
}

boroda
Apr 07, 2011, 4:53 AM
The "Tool" icons are part of a sprite (single image which contains multiple icons), so you would need to create a new sprite with larger icons, then use the CSS below to specify the new height/width, plus the URL to the new sprite file. You'd also need to change the offsets of each of the icons within the sprite.



.x-tool
{
width: 20px !important;
height: 20px !important;
}


Thank you for your answer! Is it possible to do this without the Sprite file?