flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maurice Amsellem (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-33994) Need a way to distinguish phone and tablet target devices through css
Date Wed, 05 Feb 2014 08:40:12 GMT

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

Maurice Amsellem commented on FLEX-33994:
-----------------------------------------

It looks like dp is the same as "pt" unit.
Point (pt) is by definition 1/72 inch, so it's also a physical unit, but in a different unit
(at least, that's my understanding).

Web css usually accepts cm, in, and pt (and other more esoteric units, such as em).
So it could be an interesting simplification (on the technical side) to only accept pt as
the physical unit.
Not sure pt/dp are easier to understand or use than inches / cm.
What do you think?


> Need a way to distinguish phone and tablet target devices through css
> ---------------------------------------------------------------------
>
>                 Key: FLEX-33994
>                 URL: https://issues.apache.org/jira/browse/FLEX-33994
>             Project: Apache Flex
>          Issue Type: New Feature
>          Components: .Unspecified - Mobile
>    Affects Versions: Apache Flex 4.11.0
>            Reporter: Maurice Amsellem
>            Assignee: Maurice Amsellem
>
> Some components should have different layout on phone and tablet devices.
> For example, DropDownList should display as a centered popup list on phones, and display
the drop down list below its popup button on tablets, supposedly having move screen space.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message