[vlc-commits] commit: skin2: fix minor issue with default skins (Erwan Tulou )

git at videolan.org git at videolan.org
Thu Aug 12 09:49:45 CEST 2010


vlc | branch: master | Erwan Tulou <erwan10 at videolan.org> | Wed Aug 11 17:03:07 2010 +0200| [7f09499fd1519d8187a744a2aa9e7f196cdde898] | committer: Erwan Tulou 

skin2: fix minor issue with default skins

Fix two text controls overlapping by 1 pixel in length.
Though it's no real problem, that avoids unnecessary refresh for zilch.
(one control is the position that keeps being updated)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7f09499fd1519d8187a744a2aa9e7f196cdde898
---

 share/skins2/default/theme.xml |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/share/skins2/default/theme.xml b/share/skins2/default/theme.xml
index 58835f4..c03fbad 100644
--- a/share/skins2/default/theme.xml
+++ b/share/skins2/default/theme.xml
@@ -233,9 +233,9 @@
         </Slider>
         <Panel id="main.normal.display" width="0" height="0" rightbottom="righttop">
           <Text text="$T / $D" font="defaultfont" alignment="right" color="#CCCCCC" id="time1" x="325" y="7" width="100" lefttop="rightbottom" rightbottom="rightbottom" visible="dvd.isActive"/>
-          <Text text="$N" font="defaultfont" color="#CCCCCC" id="songticker1" x="26" y="7" width="300" rightbottom="righttop" visible="dvd.isActive"/>
+          <Text text="$N" font="defaultfont" color="#CCCCCC" id="songticker1" x="26" y="7" width="299" rightbottom="righttop" visible="dvd.isActive"/>
           <Text text="$T / $D" font="defaultfont" alignment="right" color="#CCCCCC" id="time2" x="390" y="7" width="100" lefttop="rightbottom" rightbottom="rightbottom" visible="not dvd.isActive"/>
-          <Text text="$N" font="defaultfont" color="#CCCCCC" id="songticker2" x="26" y="7" width="365" rightbottom="righttop" visible="not dvd.isActive"/>
+          <Text text="$N" font="defaultfont" color="#CCCCCC" id="songticker2" x="26" y="7" width="364" rightbottom="righttop" visible="not dvd.isActive"/>
           <Button up="main.png.dbuttons.info.normal" down="main.png.dbuttons.info.down" over="main.png.dbuttons.info.hover" action="dialogs.fileInfo()" id="main.normal.dbuttons.info1" x="9" y="7" tooltiptext="Show File Information"/>
           <Button up="main.png.dbuttons.ptitle.normal" down="main.png.dbuttons.ptitle.down" over="main.png.dbuttons.ptitle.hover" action="dvd.previousTitle()" id="main.normal.dbuttons.ptitle" x="431" y="7" lefttop="rightbottom" rightbottom="rightbottom" visible="dvd.isActive" tooltiptext="Play Previous Title on DVD"/>
           <Button up="main.png.dbuttons.pchap.normal" down="main.png.dbuttons.pchap.down" over="main.png.dbuttons.pchap.hover" action="dvd.previousChapter()" id="main.normal.dbuttons.pchap" x="443" y="7" lefttop="rightbottom" rightbottom="rightbottom" visible="dvd.isActive" tooltiptext="Go to Previous Chapter of Title"/>
@@ -399,9 +399,9 @@
         </Slider>
         <Panel id="fsc.normal.display" width="0" height="0" rightbottom="righttop">
           <Text text="$T / $D" font="defaultfont" alignment="right" color="#CCCCCC" id="fsc.time1" x="325" y="7" width="100" lefttop="rightbottom" rightbottom="rightbottom" visible="dvd.isActive"/>
-          <Text text="$N" font="defaultfont" color="#CCCCCC" id="fsc.songticker1" x="26" y="7" width="300" rightbottom="righttop" visible="dvd.isActive"/>
+          <Text text="$N" font="defaultfont" color="#CCCCCC" id="fsc.songticker1" x="26" y="7" width="299" rightbottom="righttop" visible="dvd.isActive"/>
           <Text text="$T / $D" font="defaultfont" alignment="right" color="#CCCCCC" id="fsc.time2" x="390" y="7" width="100" lefttop="rightbottom" rightbottom="rightbottom" visible="not dvd.isActive"/>
-          <Text text="$N" font="defaultfont" color="#CCCCCC" id="fsc.songticker2" x="26" y="7" width="365" rightbottom="righttop" visible="not dvd.isActive"/>
+          <Text text="$N" font="defaultfont" color="#CCCCCC" id="fsc.songticker2" x="26" y="7" width="364" rightbottom="righttop" visible="not dvd.isActive"/>
           <Button up="main.png.dbuttons.ptitle.normal" down="main.png.dbuttons.ptitle.down" over="main.png.dbuttons.ptitle.hover" action="dvd.previousTitle()" id="fsc.normal.dbuttons.ptitle" x="431" y="7" lefttop="rightbottom" rightbottom="rightbottom" visible="dvd.isActive" tooltiptext="Play Previous Title on DVD"/>
           <Button up="main.png.dbuttons.pchap.normal" down="main.png.dbuttons.pchap.down" over="main.png.dbuttons.pchap.hover" action="dvd.previousChapter()" id="fsc.normal.dbuttons.pchap" x="443" y="7" lefttop="rightbottom" rightbottom="rightbottom" visible="dvd.isActive" tooltiptext="Go to Previous Chapter of Title"/>
           <Button up="main.png.dbuttons.menu.normal" down="main.png.dbuttons.menu.down" over="main.png.dbuttons.menu.hover" action="dvd.rootMenu()" id="fsc.normal.dbuttons.info" x="455" y="7" lefttop="rightbottom" rightbottom="rightbottom" visible="dvd.isActive" tooltiptext="Go to the DVD Title Menu"/>



More information about the vlc-commits mailing list