Changes to skin in SDK path not taking effect?

大城市里の小女人 提交于 2019-12-13 09:47:08

问题


I'm using the SparkChromeWindowedApplicationSkin in my Window Application and I'm making changes to the skin in the SDK directory but none of my changes are taking effect.

I set the skin in my CSS like this:

s|WindowedApplication
{
    backgroundAlpha: 1;
    backgroundColor: #FFFFFF;
    resizeAffordanceWidth: 6;
    skinClass: ClassReference("spark.skins.spark.SparkChromeWindowedApplicationSkin");
}

Then I control + click on the skin name and it opens the file. I then change some of the styles and properties. I then run the application. None of my changes seem to make a difference.

UPDATE: I just typed random gibberish into the skin and no errors were thrown. So I know it's not using the changes.


回答1:


I copied the skins out of the SDK directory and placed them into my project folder. I placed them the same package / folder path as they had in the SDK and copied the assets to the root of my project folder (same path again). This worked! I'm still curious to know if this is the way everyone else does it and why the changes to the skins in the SDK did not update with my changes. Here is a screenshot of my project src directory now:



来源:https://stackoverflow.com/questions/27952272/changes-to-skin-in-sdk-path-not-taking-effect

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!