for you there is a chance to make button not squared?
i made button as in png
There is Widget::setMaskPick method, that takes texture name as input and use it as picking mask.
Also can be specified in layout or skin template as "MaskPick" property.
so in preparing xml i must make square for contain button or i can use real border?
i try to explain better
in xml i must define
with a square for i must define a square that contains empty border (width is from top left to bottom right corner)
attach a screenshot for better understanding
black is real form red is square form
hoping is better explained now
Yes, size of your button would be that red corner. Both in skin and when button is created in layout or code.
and the property setMaskPick tell to mygui that must be ignored transparent part? for that i understood