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="FreakyJ" data-source="post: 687010" data-attributes="member: 106003"><p>I tried to play a bit more with the basic stuff of MPF and without the workflow models it is much easier^^</p><p></p><p>I changed the Themefiles of the default Skin while MP2 was running and there was no effect if I changed something <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite3" alt=":(" title="Frown :(" loading="lazy" data-shortname=":(" /></p><p>After a while I thought: "Okay lets restart MP2" and now I got an error. Is it possible that MP2 doesn't reload the theme files during the runtime like the skin files?</p><p></p><p></p><p>This should be the "magic" line (the first place in Button.xaml where "1,1,1,1" appears and like always in WPF it works fine, but not in MPF (I made already some changes to the WPF code to fit the MPF specifications):</p><p>[CODE]<Border BorderBrush="#FFFFFFFF" BorderThickness="1,1,1,1" CornerRadius="4,4,4,4">[/CODE]</p><p></p><p>But why does this line (original code from MP2 Button.xaml) work:</p><p>[CODE] <Grid x:Name="GrowControl" RenderTransformOrigin="0.5,0.5" Margin="0,2,0,2">[/CODE]</p><p></p><p>It is the same just another attribute...</p><p></p><p>Complete log + theme file [line 220] as attachment</p><p></p><p>P.S.</p><p>You should allow .xaml extension for upload <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /></p></blockquote><p></p>
[QUOTE="FreakyJ, post: 687010, member: 106003"] I tried to play a bit more with the basic stuff of MPF and without the workflow models it is much easier^^ I changed the Themefiles of the default Skin while MP2 was running and there was no effect if I changed something :( After a while I thought: "Okay lets restart MP2" and now I got an error. Is it possible that MP2 doesn't reload the theme files during the runtime like the skin files? This should be the "magic" line (the first place in Button.xaml where "1,1,1,1" appears and like always in WPF it works fine, but not in MPF (I made already some changes to the WPF code to fit the MPF specifications): [CODE]<Border BorderBrush="#FFFFFFFF" BorderThickness="1,1,1,1" CornerRadius="4,4,4,4">[/CODE] But why does this line (original code from MP2 Button.xaml) work: [CODE] <Grid x:Name="GrowControl" RenderTransformOrigin="0.5,0.5" Margin="0,2,0,2">[/CODE] It is the same just another attribute... Complete log + theme file [line 220] as attachment P.S. You should allow .xaml extension for upload ;) [/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