home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Skins
change default list text color?
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="rkooten" data-source="post: 656595" data-attributes="member: 81039"><p>Changing unfocused alpha changes transparancy of the entire item, including its texture. According to the wiki it should be done like this: change textcolor in lists without affecting alpha:</p><p></p><p>[code]</p><p> <textcolor>FF808080</textcolor></p><p> <textcolor2>FF808080</textcolor2></p><p> <textcolor3>FF808080</textcolor3></p><p>[/code]</p><p></p><p>...each targeting the code of the three label items.</p><p></p><p>And specify the color of selected items like this:</p><p></p><p>[code]</p><p> <selectedColor>FFFFFFFF</selectedColor></p><p> <selectedColor2>FFFFFFFF</selectedColor2></p><p> <selectedColor3>FFFFFFFF</selectedColor3></p><p>[/code]</p><p></p><p>This doesn't work however. I think specifying colors in listcontrols is bugged.</p><p></p><p>This is from the source, so the wiki does mention the correct tags:</p><p></p><p>[code]</p><p> [XMLSkinElement("textcolor")]</p><p> protected long _textColor = 0xFFFFFFFF;</p><p> [XMLSkinElement("textcolor2")]</p><p> protected long _textColor2 = 0xFFFFFFFF;</p><p> [XMLSkinElement("textcolor3")]</p><p> protected long _textColor3 = 0xFFFFFFFF;</p><p> [XMLSkinElement("selectedColor")]</p><p> protected long _selectedColor = 0xFFFFFFFF;</p><p> [XMLSkinElement("selectedColor2")]</p><p> protected long _selectedColor2 = 0xFFFFFFFF;</p><p> [XMLSkinElement("selectedColor3")]</p><p> protected long _selectedColor3 = 0xFFFFFFFF;</p><p>[/code]</p></blockquote><p></p>
[QUOTE="rkooten, post: 656595, member: 81039"] Changing unfocused alpha changes transparancy of the entire item, including its texture. According to the wiki it should be done like this: change textcolor in lists without affecting alpha: [code] <textcolor>FF808080</textcolor> <textcolor2>FF808080</textcolor2> <textcolor3>FF808080</textcolor3> [/code] ...each targeting the code of the three label items. And specify the color of selected items like this: [code] <selectedColor>FFFFFFFF</selectedColor> <selectedColor2>FFFFFFFF</selectedColor2> <selectedColor3>FFFFFFFF</selectedColor3> [/code] This doesn't work however. I think specifying colors in listcontrols is bugged. This is from the source, so the wiki does mention the correct tags: [code] [XMLSkinElement("textcolor")] protected long _textColor = 0xFFFFFFFF; [XMLSkinElement("textcolor2")] protected long _textColor2 = 0xFFFFFFFF; [XMLSkinElement("textcolor3")] protected long _textColor3 = 0xFFFFFFFF; [XMLSkinElement("selectedColor")] protected long _selectedColor = 0xFFFFFFFF; [XMLSkinElement("selectedColor2")] protected long _selectedColor2 = 0xFFFFFFFF; [XMLSkinElement("selectedColor3")] protected long _selectedColor3 = 0xFFFFFFFF; [/code] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Skins
change default list text color?
Contact us
RSS
Top
Bottom