[Solved] Fullscreen + alt tab = Static Image moves

MusgooDKZ

08-07-2009 10:19:01

The Static Image moves to the center of screen, while static text all ok.
Static Image съезажет в центр при сворачивании/разворачиваниие окна, со static text все нормально не перемещается.

Пробовал ставить все align и layer результат тот же.


Is that a known issue ?
В чем может быть причина ?

Altren

08-07-2009 14:23:16

Show your code that creates this static image (or layout file if StaticImage created in layout).

MusgooDKZ

08-07-2009 14:57:38

<?xml version="1.0" encoding="UTF-8"?>
<MyGUI type="Layout">
<Widget type="StaticImage" skin="StaticImage" position_real="0 0 0.025 0.03" align="Center" layer="Back" name="sight">
<Property key="Image_Texture" value="sight.png"/>
//<Property key="Widget_Alpha" value="0.2"/>
//<Property key="Widget_InheritsAlpha" value="false"/>
<Property key="Widget_Show" value="true"/>
<Property key="Widget_NeedMouse" value="false"/>
<Property key="Widget_NeedKey" value="false"/>
</Widget>
<Widget type="StaticImage" skin="StaticImage" position_real="0.8125 0.885417 0.132813 0.0625" align="Center" layer="Back" name="PlatePoints">
<Property key="Image_Texture" value="PlatePoints.png"/>
<Property key="Widget_Show" value="false"/>
<Property key="Widget_NeedMouse" value="false"/>
<Property key="Widget_NeedKey" value="false"/>
</Widget>
<Widget type="StaticText" skin="StaticText" position_real="0.828125 0.84375 0.03125 0.0416667" layer="Back" name="Points">
<Property key="Text_TextAlign" value="Center"/>
//<Property key="Text_TextColour" value="1 1 1"/>
<Property key="Text_FontName" value="DejaVuSans.36"/>
<Property key="Widget_Visible" value="true"/>
<Property key="Widget_Show" value="false"/>
</Widget>
<Widget type="StaticText" skin="StaticText" position_real="0.898438 0.84375 0.03125 0.0416667" layer="Back" name="Plates">>
<Property key="Text_TextAlign" value="Center"/>
//<Property key="Text_TextColour" value="1 1 1"/>
<Property key="Text_FontName" value="DejaVuSans.36"/>
<Property key="Widget_Visible" value="true"/>
<Property key="Widget_Show" value="false"/>
</Widget>
</MyGUI>

Altren

08-07-2009 17:27:42

align="Center" moves your StaticImage in center.

MusgooDKZ

08-07-2009 17:37:30

Problem solved !

thanks Altren