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 2
Skins and Design
ThemeResources don't reload all the time?! / Could not convert object '1,1,1,1'...
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="Albert" data-source="post: 687057" data-attributes="member: 67886"><p><strong>AW: ThemeResources don't reload all the time?! / Could not convert object '1,1,1,1'..</strong></p><p></p><p>In your log file, see line #149. At the end, it says: "Could not convert object '1,1,1,1' to type 'Double'". That means that the SkinEngine needs a double value here. You can check that if you look into the class of Border, property BorderThickness: It's declared as double. Seems that we're different to WPF here.</p><p>The type of the Margin property is "Thickness", so here, "0,2,0,2" is ok.</p><p></p><p>You're right, the theme isn't reloaded at runtime. I wrote a plugin which you can find in the Resources folder, "ReloadSkin". Add it to the solution and run. That plugin adds hotkeys "F3" for reloading the current screen and "F4" for reloading the skin/theme.</p></blockquote><p></p>
[QUOTE="Albert, post: 687057, member: 67886"] [b]AW: ThemeResources don't reload all the time?! / Could not convert object '1,1,1,1'..[/b] In your log file, see line #149. At the end, it says: "Could not convert object '1,1,1,1' to type 'Double'". That means that the SkinEngine needs a double value here. You can check that if you look into the class of Border, property BorderThickness: It's declared as double. Seems that we're different to WPF here. The type of the Margin property is "Thickness", so here, "0,2,0,2" is ok. You're right, the theme isn't reloaded at runtime. I wrote a plugin which you can find in the Resources folder, "ReloadSkin". Add it to the solution and run. That plugin adds hotkeys "F3" for reloading the current screen and "F4" for reloading the skin/theme. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Skins and Design
ThemeResources don't reload all the time?! / Could not convert object '1,1,1,1'...
Contact us
RSS
Top
Bottom