HBox Image as BorderSkin
Posted
by Maurits de Boer
on Stack Overflow
See other posts from Stack Overflow
or by Maurits de Boer
Published on 2010-05-31T08:20:15Z
Indexed on
2010/06/01
5:23 UTC
Read the original article
Hit count: 280
I've designed a pretty 6pixel border for an HBox. It's a .png file and I tried setting it as the border skin like so:
HBox
{
border-skin: Embed('../graphics/skins/border.png');
}
However, when I run the application, the image is used for the background instead of the border.
How do I fix this?
© Stack Overflow or respective owner