runtime theme

Develop and Deploy Native Apps for Windows, OS X, Linux, Unix ...

runtime theme

Postby tomy300 » Fri Feb 14, 2014 5:30 pm

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/comptabilite/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
tomy300
 
Posts: 70
Joined: Sat Nov 09, 2013 12:27 am

Re: runtime theme

Postby support » Sun Feb 16, 2014 12:22 am

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: 351
Joined: Sat Apr 27, 2013 9:22 am

Re: runtime theme

Postby support » Sun Feb 16, 2014 12:31 am

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.
support
 
Posts: 351
Joined: Sat Apr 27, 2013 9:22 am


Return to CrossUI for Desktop Apps

Who is online

Users browsing this forum: No registered users and 0 guests

cron