flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "OmPrakash Muppirala (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-34139) Missing 120DPI Skin References
Date Wed, 12 Mar 2014 19:04:45 GMT

    [ https://issues.apache.org/jira/browse/FLEX-34139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13932208#comment-13932208

OmPrakash Muppirala commented on FLEX-34139:

I do see the problem, here is a simple test case:

<s:TabbedViewNavigatorApplication xmlns:fx="http://ns.adobe.com/mxml/2009" 
								  xmlns:s="library://ns.adobe.com/flex/spark" applicationDPI="120">
	<s:ViewNavigator label="Languages" width="100%" height="100%" firstView="views.LanguagesView"/>
	<s:ViewNavigator label="Machines" width="100%" height="100%" firstView="views.MachinesView"/>
	<s:ViewNavigator label="Attachments" width="100%" height="100%" firstView="views.AttachmentsView"/>
	<s:ViewNavigator label="Resources" width="100%" height="100%" firstView="views.ResourcesView"/>

But, ButtonBarFirstButtonSkin.as does have an entry for 120 DPI: 

I will try to investigate where this issue is coming from.  

> Missing 120DPI Skin References
> ------------------------------
>                 Key: FLEX-34139
>                 URL: https://issues.apache.org/jira/browse/FLEX-34139
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Spark: ButtonBar
>    Affects Versions: Apache Flex 4.12.0
>            Reporter: Keith Lee
>            Assignee: OmPrakash Muppirala
>            Priority: Minor
>         Attachments: Screen Shot 2014-03-12 at 11.21.25 AM.png
> I started a discussion about this in the forum, but could not post a screen grab and
wanted to make sure there's not a bug here. (http://apache-flex-users.2333346.n4.nabble.com/4-12-Application-Screen-Size-Issues-td5406.html)
My desktop app is using mobile components and mobile theme. Upon upgrading to Flex 4.12, the
previous applicationDPI setting of 160 no longer would work, so I removed it. The actual runtimeDPI
is 120. Now some fonts are a little smaller, but I can live with that and adjust those accordingly.
However, the TabbedNavigatorApplication's tab bar is skinned incorrectly. See attached screen
grab. Upon investigation, the skin flex_4.12/frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonBarFirstButtonSkin.as
does not have a entry for using 120DPI assets as it probably should, in order to look correctly
on the desktop.

This message was sent by Atlassian JIRA

View raw message