i think this is a common problem but i can't figure out the solution yet
i would like to create a static image without any border on the frame
this is the code for the layout:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<GUILayout >
<Window Type="DefaultWindow" Name="Root" >
<Property Name="InheritsAlpha" Value="False" />
<Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
<Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" />
<Window Type="TaharezLook/StaticImage" Name="MenuTitle" >
<Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
<Property Name="UnifiedAreaRect" Value="{{0.05,0},{0,0},{0.95,0},{0.35,0}}" />
<Property Name="Image" Value="set:Title image:SwthTitle" />
</Window>
<Window Type="TaharezLook/Button" Name="NewGame" >
<Property Name="Text" Value="New Game" />
<Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
<Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.45,0},{0.6,0},{0.55,0}}" />
</Window>
<Window Type="TaharezLook/Button" Name="Option" >
<Property Name="Text" Value="Option" />
<Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
<Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.6,0},{0.6,0},{0.7,0}}" />
</Window>
<Window Type="TaharezLook/Button" Name="Quit" >
<Property Name="Text" Value="Quit" />
<Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
<Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.75,0},{0.6,0},{0.85,0}}" />
</Window>
</Window>
</GUILayout>
i only add the image set into the scheme and that's all i had change from default TaharezLook skin
this is the result of the above code
http://www.imageox.com/image/291635-001.jpeg
i try to remove the frame, but the image also gone with the frame
is it possible to remove the border by changing the layout code only?
if not, could someone teach me how to achive it using look and feel code?
any help is appreciated