flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Subs <subscripti...@leeburrows.com>
Subject Re: How to scale the icon in flex mobiles navigationContent for different devices/applicationDPIs
Date Wed, 21 Jan 2015 16:58:40 GMT
i think viewWidth/Height is the issue; you're telling the fxg to be a 
specific size (better to let fxg work that out for itself from the path 
data).

again, i'm no fxg guru, so take with a pinch of salt, but i think you 
can just remove viewWidth/Height (although your path data may need 
adjusting afterwards?)

On 21/01/2015 16:47, chris_d_k wrote:
> <?xml version="1.0" encoding="utf-8" ?>
> <Graphic version="2.0" viewHeight="50" viewWidth="50" ATE:version="1.0.0"
> flm:version="1.0.0" d:using="" pd:backgroundColor="10066329"
> xmlns="http://ns.adobe.com/fxg/2008"
> xmlns:ATE="http://ns.adobe.com/ate/2009"
> xmlns:d="http://ns.adobe.com/fxg/2008/dt"
> xmlns:flm="http://ns.adobe.com/flame/2008"
> xmlns:pd="http://ns.adobe.com/xfl/2008/pd">
>    <Library/>
>    <Group d:type="layer" d:userLabel="Ebene 1">
>      <Path x="0.05" y="0.05" data="M50 -0.05 50.05 50 50.025 50.025 0 50.05
> -0.025 50.025 -0.05 0 -0.025 -0.025 50 -0.05">
>        <fill>
>          <SolidColor color="#24408A" alpha="0"/>
>        </fill>
>      </Path>
>      <Group>
>        <Group>
>          <Path x="11.85" y="33.4" data="M26.35 -0.075 26.425 4 26.4 4.025 0
> 4.075 -0.025 4.05 -0.075 0 -0.05 -0.025 26.35 -0.075">
>            <fill>
>              <SolidColor color="#FFFFFF"/>
>            </fill>
>          </Path>
>        </Group>
>        <Group>
>          <Path x="11.85" y="26.5" data="M26.35 -0.075 26.425 4 26.4 4.025 0
> 4.075 -0.025 4.05 -0.075 0 -0.05 -0.025 26.35 -0.075">
>            <fill>
>              <SolidColor color="#FFFFFF"/>
>            </fill>
>          </Path>
>        </Group>
>        <Group>
>          <Path x="11.85" y="19.55" data="M26.35 -0.075 26.425 4 26.4 4.025 0
> 4.075 -0.025 4.05 -0.075 0 -0.05 -0.025 26.35 -0.075">
>            <fill>
>              <SolidColor color="#FFFFFF"/>
>            </fill>
>          </Path>
>        </Group>
>        <Group>
>          <Path x="11.85" y="12.65" data="M26.35 -0.075 26.425 4 26.4 4.025 0
> 4.075 -0.025 4.05 -0.075 0 -0.05 -0.025 26.35 -0.075">
>            <fill>
>              <SolidColor color="#FFFFFF"/>
>            </fill>
>          </Path>
>        </Group>
>      </Group>
>    </Group>
>    <Private/>
> </Graphic>
>
>
>
> --
> View this message in context: http://apache-flex-users.2333346.n4.nabble.com/How-to-scale-the-icon-in-flex-mobiles-navigationContent-for-different-devices-applicationDPIs-tp9448p9453.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.

-- 
Lee Burrows
ActionScripter


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message