runtime theme

Develop and Deploy Native Apps for Windows, OS X, Linux, Unix ...
Post Reply
tomy300
Posts: 70
Joined: Sat Nov 09, 2013 12:27 am

runtime theme

Post by tomy300 »

Hi developper,

some thing curious is in my workspace when I create an app, I put the runtime dir to modify the theme, but it CrossUi Rad delete it each time I run it. does it use the Rad theme instead ?
I need to modify the theme vista a little.

also I got problem with opacity of a pane but it's not work right..


here a link of an example : http://www.infochic.ca/gestion/apps/com ... e/comp.php

I want the leaf goes transparent to the pan but not button or group control

I don't know if I'm doing this right because I mix html and crossui, I put crossui app in a iframe, if I use opacity to the iframe it's work but it goes transparent over all the control in it. is this possible ? to make it transparant over some control and not on a button ?

any crossui rad update soon? that would be so cool. thanks

thanks

support
Posts: 356
Joined: Sat Apr 27, 2013 9:22 am

Re: runtime theme

Post by support »

The only thing you need to do is to set the iframe transparent: javascript code
events : {"onReady":"_com_onready"},
        _com_onready:function (com, threadid){
            xui('html').css('background','transparent');
        }
And your should remove this line: javascript code
.setCustomStyle({"KEY":{"background-color":"#FFFFFF", "$gradients":"", "opacity":0.57}})

support
Posts: 356
Joined: Sat Apr 27, 2013 9:22 am

Re: runtime theme

Post by support »

And if you need to modify vista theme, you should modify files in "[install dir]\CorssUI\runtime\xui\appearance\vista".

Before that, I suggest you visit http://www.linb.net/Examples/, and try those examples in "Appearances" block.

Post Reply