Your Digital Media Has Never Looked So Good

 
drew_gumgum
Topic Author
Posts: 1
Joined: Wed Apr 24, 2019 7:08 pm

Trouble Implementing both MarkupGrid and Rowlist

Wed May 08, 2019 2:59 pm

I am having an issue with populating a Rowlist on the "itemFocused" within MarkupGrid that is acting as my navigation. I want the Scene to look something like this:

[Nav option 1] [Nav option 2] [Nav option 3]
----------------

{Rowlist that associates with "Nav Option 2" would go here.}


I'm able to separately render the MarkupGrid and Rowlist, which pulls content from a Task node, but when I try to implement the Rowlist on the same scene as the MarkupGrid, my screen turns black. So I decided to place the RowList in a separate Group Node but I'm not sure how to make the RowList visible within the HomeScene again. Any suggestions? Here is my code from HomeScene:

HomeScene.XML

<?xml version="1.0" encoding="utf-8" ?> 
<component name="HomeScene" extends="Scene"  initialFocus = "headerMarkupGrid">
    <script type="text/brightscript" uri="pkg:/components/HomeScene.brs" />
        <children>
        <Poster
                    id="logo" 
                    uri="pkg:/images/logo.png"
                    width="350"
                    height="150" />
   <MarkupGrid
            id="headerMarkupGrid"
            translation = "[ 275, 10 ]" 
            itemComponentName="TopNavGroup"
            itemSize="[550,150]"
            itemSpacing = "[ 0, 10 ]" 
            drawFocusFeedback = "false" 
            numRows="1"
            numColumns = "4" 
            />
        </children> 
</component>

Who is online

Users browsing this forum: No registered users and 4 guests