You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Alex Harui (JIRA)" <ji...@apache.org> on 2017/02/08 04:18:42 UTC

[jira] [Commented] (FLEX-35258) [FlexJS] IntelliJ produces unexpected output when set up as per our wiki

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

Alex Harui commented on FLEX-35258:
-----------------------------------

Does IntelliJ make the console output from FalconJX available?  Maybe there is a clue in there.

> [FlexJS] IntelliJ produces unexpected output when set up as per our wiki
> ------------------------------------------------------------------------
>
>                 Key: FLEX-35258
>                 URL: https://issues.apache.org/jira/browse/FLEX-35258
>             Project: Apache Flex
>          Issue Type: Improvement
>    Affects Versions: Apache FlexJS 0.7.0
>            Reporter: Justin Mclean
>            Priority: Minor
>
> When IntelliJ is set up according to this [1]
> This code:
> {code}
> <?xml version="1.0" encoding="utf-8"?>
> <js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
>                xmlns:js="library://ns.apache.org/flexjs/basic”>
> <js:valuesImpl>
> 	<js:SimpleCSSValuesImpl />
> </js:valuesImpl>
> <js:initialView>
>    <js:View>
>        <js:Container>
>            <js:beads>
>                <js:VerticalLayout />
>            </js:beads>
>            <js:Label text="Hello" />
>            <js:Label text="World" />
>        </js:Container>
>    </js:View>
> </js:initialView>
> </js:Application>
> {code}
> Produces this:
> {code}
> <div class="flexjs" style="display: block; position: relative;"><div style="position: relative;"><span class="Label" style="white-space: nowrap; cursor: default; pointer-events: none;">hello</span><span class="Label" style="white-space: nowrap; cursor: default; pointer-events: none;">world</span></div></div>
> {code}
> Rather than this:
> {code}
> <div class="flexjs" style="display: block; position: relative; width: 29px; height: 28px;"><div style="display: block; position: absolute; left: 0px; top: 0px; width: 29px; height: 28px;"><div style="position: relative; width: 29px; height: 28px; display: block;"><div style="display: block; position: absolute; left: 0px; top: 0px; width: 29px;"><span class="Label" style="white-space: nowrap; cursor: default; pointer-events: none; display: block;">hello</span><span class="Label" style="white-space: nowrap; cursor: default; pointer-events: none; display: block;">world</span></div></div></div></div>
> {code}
> Which means the text are aligned horizontally rather than vertically.
> When compiling with maven on the same version of FexJS Nighty you get the expected results. 
> 1. https://cwiki.apache.org/confluence/display/FLEX/Using+FlexJS+with+IntelliJ+IDEA



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)