stiaan Posted July 19, 2013 Posted July 19, 2013 Hi I was hoping to be able to load new themes into the UNIGUI framework. I have searched the site/blogs finding little information regarding this. Is there a simple way of doing this? The themes I have in mind are found at: https://market.sencha.com/extensions/clifton-theme Thanks for the support and great product! Regards 1 Quote
DoiSuthep Posted July 19, 2013 Posted July 19, 2013 Hi, Same thing I have been searching for... but I couldn't find much information about this yet. So I just started to experiment and got some results also.. now I can use yellow-style as I wanted Here is how I did it: - Downloaded themes to experiment from https://market.sencha.com/extensions/clifton-theme - extract zip to C:\Program Files (x86)\FMSoft\Framework\uniGUI\ext-4.1.1a\resources - copy clifton-yellow.css to C:\Program Files (x86)\FMSoft\Framework\uniGUI\ext-4.1.1a\uni\css - rename clifton-yellow.css to uni-xtheme-yellow.css - Change Theme in unimainmodule.dmf (object UniMainModule: TUniMainModule Theme = 'yellow') -> And suddenly all blue changed to yellow. Also I got some other better result: i.e. speedbutton color: I can use colour-property now by selecting right colour or using clBtnFace (=comes from theme) And you are right... great product! Even I can now do some web based development DoiSuthep Quote
rencarnacion Posted July 19, 2013 Posted July 19, 2013 Hi, I try to do it like explain above but I can't find this in the DMF "Change Theme in unimainmodule.dmf (object UniMainModule: TUniMainModule Theme = 'yellow')" So please could tell me how I can do it ? Thanks Ronny Encarnacion Quote
DoiSuthep Posted July 19, 2013 Posted July 19, 2013 Hi, You can change it directly in Delphi GUI also: just open mainmodule.dmf properties. Quote
DoiSuthep Posted July 19, 2013 Posted July 19, 2013 But as so often... Crome shows theme correctly. IE not. Quote
Jose Abanto Posted July 20, 2013 Posted July 20, 2013 I have followed the steps, but this does not change theme. everything is in gray. Quote
Jose Abanto Posted July 20, 2013 Posted July 20, 2013 ups, I see changes in "unixPanel", but not in unibutton, uniradiobutton, etc... Quote
stiaan Posted July 24, 2013 Author Posted July 24, 2013 Thanks for the feedback. I will experiment and will give some feedback. Quote
rencarnacion Posted July 24, 2013 Posted July 24, 2013 I made the changes like you say but It didn't work Ronny Encarncion Quote
stiaan Posted July 30, 2013 Author Posted July 30, 2013 Adding new themes doesn't seem to be successful. Unfortunately I don't have the time to understand the issues. I will try at some later stage. Quote
gpaulino Posted September 12, 2013 Posted September 12, 2013 someone able to apply the theme???? Quote
Ulugbek Posted September 30, 2013 Posted September 30, 2013 someone able to apply the theme???? +1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.