tombenner / nui

Style iOS apps with a stylesheet, similar to CSS
MIT License
3.76k stars 461 forks source link

Autoupdate does not restore default styling #230

Open ibmsoft opened 10 years ago

ibmsoft commented 10 years ago

follow the guide [NUISettings setAutoUpdatePath:@"/develope/IOS/github/nui/NUI/Themes/Pansoft.NUI.nss"];

when i remove all css in the Pansoft.NUI.nss file ,the screen does not change

i want to restore the default appearance,so i just remove all the css content, there is any way to restore the defautl apperance ?

phatmann commented 10 years ago

This is an issue with the way NUI reapplies styles: it does not restore the "default" style if the associated style tag is missing. For example, if you have a border-color of red and border-width of 1, if you remove these tags from your NSS file, the element will still have borders.

This issue has been discussed elsewhere, but I don't see an open issue on it, so I am glad you filed it. Could you possibly change the name to "Autoupdate does not restore default styling"?

ibmsoft commented 10 years ago

to @phatmann change the title