diff options
author | chriszero <zerov83@gmail.com> | 2015-07-10 20:41:12 +0200 |
---|---|---|
committer | chriszero <zerov83@gmail.com> | 2015-07-10 20:41:12 +0200 |
commit | 43d3acbfcc8fbabdc8ca10ac6594f69a82783ec3 (patch) | |
tree | 26b8397c150e152684076013ac60738bad2ef20a /templates | |
parent | c1220af84ad4586dc0ba8ae8d76d42c16084369c (diff) | |
download | vdr-plugin-plex-43d3acbfcc8fbabdc8ca10ac6594f69a82783ec3.tar.gz vdr-plugin-plex-43d3acbfcc8fbabdc8ca10ac6594f69a82783ec3.tar.bz2 |
Viewelement <scrollbar/> for all grids.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/plug-plex-root.xml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/templates/plug-plex-root.xml b/templates/plug-plex-root.xml index 49d710a..3f9c479 100644 --- a/templates/plug-plex-root.xml +++ b/templates/plug-plex-root.xml @@ -44,6 +44,19 @@ <viewelement name="header"> </viewelement> + <!-- Tokens available for scrollbar + {height} height of the position marker of the scrollbar in percent + {offset} offset for the position marker from the top of the scrollbar in percent + --> + <viewelement name="scrollbar"> + <!-- example: + <area x="66%" y="15%" width="9%" height="75%" layer="4"> + <drawrectangle x="0" y="2" width="{areawidth}-2" height="{areaheight}" color="{clrRed}" /> + <drawrectangle x="0" y="{areaheight} / 100 * {offset}" width="{areawidth}" height="{areaheight} / 100 * {height}" color="{clrGreen}" /> + </area> + --> + </viewelement> + <viewelement name="infopane"> </viewelement> |