Quote:
Originally Posted by sajmon83
Cesar82 I can't figure out how [MusicIcon] it works properly together with MusicIcon.png. Could you give a simple example of what MusicIcon.png should look like. My guess is that it should have two states, but I've already tried vertically (39x78) and horizontally (78x39). And it looks bad all the time
Code:
[MusicIcon]
Width=39
Height=39
|
Icon buttons must have measurements:
HEIGHT = WIDTH * 8
Code:
Image file:
MusicIcon.png = 26x208 pixels (8 * 26 = 208)
Setup.ini example
[MusicIcon]
Width=26
Height=26
Image Layout (Top to Bottom):
1) BTN NORMAL - IF MUSIC CHECKED
2) BTN SELECTED - IF MUSIC CHECKED
3) BTN CLICKED - IF MUSIC CHECKED
4) BTN DISABLED - IF MUSIC CHECKED
5) BTN NORMAL - IF MUSIC UNCHECKED
6) BTN SELECTED - IF MUSIC UNCHECKED
7) BTN CLICKED - IF MUSIC UNCHECKED
8) BTN DISABLED - IF MUSIC UNCHECKED
I recommend that you always create the button in the exact size it will appear in the project.
If your button image is larger, create a new project with the button's final dimensions and add the larger button as a smart object and save your final png in the dimensions specified in Setup.ini.
EDIT:
- Added CIU hotfix in previous post.