2016-02-28, 19:11
Hi,
I'm trying to set the position of a control's height based on a condition. I've noticed that this is not possible:
Are there any other ways that achieve this without the use of variables?
If it's not possible, could this be considered as a feature request? It seems like a no brainer to me to be able to set a condition parameter to the position tags seeing as it is possible to do this with many other tags. The use of a variable seems unnecessarily verbose for writing code and the general tidiness/maintenance for skinning.
Also, does anyone have a full list of the parameters that are available for control position tags such as <top>,<left>, <right> etc? The Wiki doesn't seem to have any information on this as I've noticed it's possible to have "min" and "max" parameters and was wondering what else is available.
Would appreciate any help/advice.
Thanks
I'm trying to set the position of a control's height based on a condition. I've noticed that this is not possible:
PHP Code:
<top condition="Container.Content(TVShows)">120</top>
<top condition="!Container.Content(TVShows)">80</top>
Are there any other ways that achieve this without the use of variables?
If it's not possible, could this be considered as a feature request? It seems like a no brainer to me to be able to set a condition parameter to the position tags seeing as it is possible to do this with many other tags. The use of a variable seems unnecessarily verbose for writing code and the general tidiness/maintenance for skinning.
Also, does anyone have a full list of the parameters that are available for control position tags such as <top>,<left>, <right> etc? The Wiki doesn't seem to have any information on this as I've noticed it's possible to have "min" and "max" parameters and was wondering what else is available.
Would appreciate any help/advice.
Thanks