20 Nov 2019 - TVDB Scraper v3.2.0 is now available which reinstates scraping. TVDB are still in the process of fixing a number of bugs so there may still be further breakages. See this post. 2901570 (post)

Mystery of the Disappearing Textboxes
#1
Hi, I have this include to show the title and plot using texboxes so the height can be variable. I've put them inside a grouplist so they can be centered on the page. 
If the include is called in outside of my listcontainer, it displays, but as soon as I move it to the <focuslayout> the textboxes disappear. If I replace the textboxes with an image control or a label, it works fine - so not really sure what's going on....

    
     <include name="GalleryViewDetails">
        <control type="grouplist">
            <visible>!Skin.String(GalleryView_Details,Off)</visible>
            <width>400</width>
            <height>840</height>
            <left>50</left>
            <top>120</top>
            <orientation>vertical</orientation>
            <align>center</align>
            <itemgap>10</itemgap>
            <control type="textbox">
                <height max="180">auto</height>
                <font>SlideFocused</font>
                <textcolor>$VAR[PrimaryColor]</textcolor>
                <label>$INFO[ListItem.Title]</label>
            </control>
            <control type="textbox">
                <visible>Skin.String(GalleryView_Details,TitleAndPlot)</visible>
                <height max="290">auto</height>
                <font>Body</font>
                <textcolor>$VAR[PrimaryColor]</textcolor>
                <label>$INFO[ListItem.Plot]</label>
                <autoscroll delay="5000" time="1500" repeat="2000">Control.IsVisible(501)</autoscroll>
            </control>
        </control>
    </include>

Is there some sort of limitation on textbox controls or have I made a mistake and not realized?  

Full code is here if it helps: https://github.com/realcopacetic/skin.copacetic

Offending view is "Gallery"

Thanks in advance for any help
Reply
#2
You can't use a grouplist in a itemlayout/focusedlayout
Reply
#3
Thanks for confirmation. I was beginning to suspect as much. As my focused and item layouts are different sizes the transitions are also a bit jittery with a built in list, so I I think I'm going to need to build this view manually.
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
Mystery of the Disappearing Textboxes00