Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/apache-flex/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/redis/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Apache flex SparkDataContainer滚动条未滚动到容器底部_Apache Flex_Flex4_Flash Builder - Fatal编程技术网

Apache flex SparkDataContainer滚动条未滚动到容器底部

Apache flex SparkDataContainer滚动条未滚动到容器底部,apache-flex,flex4,flash-builder,Apache Flex,Flex4,Flash Builder,我在SkinnableDataContainer的自定义外观中使用滚动器组件。我遇到了一个问题,滚动条的指杆停在大约50%的点上,然而这实际上是可滚动区域的末尾。实际上,指杆应该位于滚动轨迹的底部。下面是滚动条的代码: <s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://n

我在SkinnableDataContainer的自定义外观中使用滚动器组件。我遇到了一个问题,滚动条的指杆停在大约50%的点上,然而这实际上是可滚动区域的末尾。实际上,指杆应该位于滚动轨迹的底部。下面是滚动条的代码:

<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009"
         xmlns:s="library://ns.adobe.com/flex/spark"
         xmlns:mx="library://ns.adobe.com/flex/halo" bottom="150"  >

<!-- Properties of the parent ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->

<s:states>
    <s:State name="normal" />
    <s:State name="disabled" />
</s:states> 


<!-- Metadata ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->   

<fx:Metadata>
    [HostComponent("spark.components.SkinnableDataContainer")]
</fx:Metadata>  


<!-- UI components ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->

<s:Rect left="0" right="0" 
        bottom="0" top="0"
        radiusX="4" radiusY="4"   >
    <s:fill>
        <s:SolidColor id="fillColor" color="0xEFEFEF"/>
    </s:fill>
</s:Rect>   

<s:Group width="905" height="395" id="mainGroup">
    <s:Scroller left="10" right="10" top="4" bottom="10" >
            <s:DataGroup id="dataGroup" />              

    </s:Scroller>
    <s:Rect left="0" right="0" top="0" bottom="0">
        <s:stroke>
            <s:SolidColorStroke weight="1" color="0xD8D8D8"/>
        </s:stroke>
    </s:Rect>
</s:Group>
似乎是一只虫子

请查看此论坛帖子:

似乎有些用户正在使用ProjectProperties>Flex主题部分中Flex4图形主题下的Colbalt图形主题。当使用这个主题时,所有组件的滚动条都被破坏了

似乎是个bug

请查看此论坛帖子:


似乎有些用户正在使用ProjectProperties>Flex主题部分中Flex4图形主题下的Colbalt图形主题。当使用这个主题时,所有组件的滚动条都被破坏了

我自己也有类似的问题。还没有找到解决办法。我也有同样的问题……我自己也有类似的问题。还没有找到解决办法。我也有同样的问题。。。