stretch animation
#1
what i want to do:

have only two container controls to cycle thru. list/thumb. have an option to show/hide media info.

so when hidden i want the container control to stretch to fullscreen.

the problem with zoom animation is it sizes all controls inside.

so basically i want conditional width/height. for me width only.

is this possible now with only two containers to cycle thru? i don't see how.
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#2
no its not
Reply
#3
It depends on how you want the option to work. If the option is controlled on a separate screen then you could do it via a conditional include. You couldn't have the button for toggling it on the same screen as the containers though as the conditional include would only be evaluated when the window opens.

(This is kind of how the list view in MediaStream works, if thumbs is turned on then they are shown, if not then the title is expanded to fill the area)
Reply
#4
The conditionals on the containers (vis conditions) are checked and updated whenever the directory listing (winxml or mediawindow) is refreshed, so if you can pull off doing that when the "toggle mediainfo" is performed, then using conditionals on the containers should do the trick I think?
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#5
there is a container.refresh i could add to the <onclick> but if it's a plugin or a really large list i didn't want a delay or for the selection to reset.

i looked at the zoom animation, was lost so i don't think i can add a stretch animation, but i can try.

edit: i should say this will be a button on the same window as the list.
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#6
it seems Container.Refresh works good. the selection does not change. so since i couldn't figure out the stretch animation, this will have to do.

i still think a stretch animation could be useful, since plugins have to be recalled.

thanks for the help.
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply

Logout Mark Read Team Forum Stats Members Help
stretch animation1