• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

ModuleLoader does not recognize Scroller

New Here ,
Jan 02, 2012 Jan 02, 2012

Copy link to clipboard

Copied

I have a component that works fine... But when I turn that into a spark module and load it with ModuleLoader, the scroller does not work that is within the module. The module is being loaded inside like this

<s:Group id="learningCenterGroup"  width="100%" height="100%">

        <s:layout>

            <s:HorizontalLayout>

               

            </s:HorizontalLayout>

        </s:layout>      

               <s:SkinnableContainer id="myContainer" bottom="10"  skinClass="Skins.SkinLearningCenter" height="100%" width="80%"  >

                      <s:group>           

                          <s:layout>

                               <s:VerticalLayout gap="30" paddingTop="50" paddingBottom="50" paddingLeft="50" paddingRight="225">                   

                               </s:VerticalLayout>

                          </s:layout>       

                           <s:ModuleLoader id="modLoaderCategory_0" />

                        <UserControls:ArticleCategoryContainer  id="categor0" />

                      </s:group>

          </s:SkinnableContainer>

           <s:SkinnableContainer   id="scoresContainer" bottom="10"  skinClass="Skins.SkinLearningCenter" height="100%"  width="20%"  >

                   <s:Group id="gameGroup">

                       <s:layout>

                         <s:VerticalLayout paddingTop="50"  id="gameGroupVertical">                           

                        </s:VerticalLayout>

                    </s:layout>

                    <s:Label fontSize="15" fontWeight="bold" text="Game Points"/>

</s:SkinnableContainer>

</s:Group>

id="modLoaderCategory_0" is just the module of id="categor0".  id="categor0" has a horizontall scroll but the id="modLoaderCategory_0" does not? The module and component look like this with a scroller? Any ideas as to why the scroller does not show?

<s:Scroller id="scroller" verticalScrollPolicy="off">

            <s:Group   id="category"  >

                <s:layout>

                    <s:HorizontalLayout gap="40">                       

                    </s:HorizontalLayout>

                </s:layout>               

                <s:Label visible="false" includeInLayout="false" id="noArticleMsg" width="100%" height="100%" fontSize="15"

                         fontWeight="bold" text=""/>               

            </s:Group>

        </s:Scroller>      

Views

375

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 02, 2012 Jan 02, 2012

Copy link to clipboard

Copied

LATEST

fixed issue. set width="65%" on id="scroller"

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines