<mx:Canvas bottom="0" left="59" right="-59" >
<s:Button skinClass="components.ButtonF" x="747" y="94"/>
<s:Button skinClass="components.ButtonD" x="643" y="72"/>
<s:Button skinClass="components.ButtonS" x="523" y="65"/>
<s:Button skinClass="components.ButtonR" x="367" y="64"/>
<s:Button skinClass="components.ButtonB" x="149" y="68"/>
<s:Button skinClass="components.ButtonRe" x="11" y="90"/>
</mx:Canvas>
Ще се радвам, ако някой успее да помогне...
Благодаря предварително.
Според мен задаването на фиксирани координати не дава добри резултати
при различни резолюции. По-добре би било да използваш друг тип
контейнер, който динамично пренарежда "децата" си, например VGroup,
HGroup, TileGroup или вложени един в друг контейнери.
Ако си решил да работиш в фиксирани координати, можеш да използваш
функциите Capabilities.screenResolutionX и
Capabilities.screenResolutionY, за да вземеш текущата резолюция и да
оразмериш Canvas-а спрямо нея.
Поздрави,
Динко
<s:Group includeIn="Logged" left="0" right="0" top="0" bottom="0">
<s:Group width="10%" right="10" top="10">
<s:HGroup gap="1">
<components:CustomComponent>
</components:CustomComponent>
<components:resourceComponent >
</components:resourceCustomComponent>
<components:NCustomComponent>
</components:NCustomComponent>
<components:YCustomComponent>
</components:YCustomComponent>
<components:A_CustomComponent>
</components:A_CustomComponent>
</s:HGroup>
</s:Group>
</s:Group>
Дори с тия 10% то си го прави колкото му трябва за да добави всичките
компоненти, но не ги преоразмерява какво на мен ми се искаше...
Поздрави,
Динко