Nine Slice Image issues
Posted: 11 May 2015, 04:05
Ok here is a odd one for you...
I have 2 images with the same content, one of them i duplicated your nineslice example image and replaced its content in GIMP with my chat bubble, the other image was generated from scratch in GIMP. When using them in the same nine slide xaml i get different effects, the image which i edited the example works perfectly, the gimp generated image is broken (edges cut off), iv matched the unity import settings for both images. I can see from teh files that they are very different sizes, are there specific settings i need to use?
I have 2 images with the same content, one of them i duplicated your nineslice example image and replaced its content in GIMP with my chat bubble, the other image was generated from scratch in GIMP. When using them in the same nine slide xaml i get different effects, the image which i edited the example works perfectly, the gimp generated image is broken (edges cut off), iv matched the unity import settings for both images. I can see from teh files that they are very different sizes, are there specific settings i need to use?
Code: Select all
<Grid Width="200" Height="150">
<noesis:NineSlice Image="../../_Textures/GUI/GimpChatBubble.png" LeftSlice="0" RightSlice="0" TopSlice="0" BottomSlice="0"/>
</Grid>