Re: Apache pivot color scheme

2013-11-06 Thread Roger and Beth Whitcomb
One way to do this (assuming that you have these style names applied to your components) is just to call "ApplicationContext.applyStylesheet("/path/to/JSON/file")" before you load your popup window. But, if you do this at startup time, then all the styles should be applied automatically to eve

Re: Apache pivot color scheme

2013-11-06 Thread Sandro Martini
Repost (the attach in the previous email seeme to have dropped it in mailing list). Hi, to use custom styles you can set them from command line too. For example, you can run our stylesheet_example (in examples) with this: org.apache.pivot.wtk.ScriptApplication --src=/org/apache/pivot/examples/sty

Re: Apache pivot color scheme

2013-11-06 Thread Sandro Martini
Hi, to use custom styles you can set them from command line too. In attach I put a sample eclipse launch file for running one of our samples. For example, you can run our stylesheet_example (in examples) with this: org.apache.pivot.wtk.ScriptApplication --src=/org/apache/pivot/examples/styles/sty

Re: Apache pivot color scheme

2013-11-06 Thread phaneendra
yes roger i am using styles like below... { TabPaneStyles:{ inactiveTabColor:"#339900", borderColor:"#339900", padding:{left:0,right:0,top:0,bottom:0}, activeTabColor:"#F5F0F5", buttonColor:"#00", buttonFont:"bold:true", buttonPadding:{left:10,right:10,top:3,bottom:3} }, HomeTabPaneS

Re: Apache pivot color scheme

2013-11-06 Thread Sandro Martini
Hi, to use a custom color scheme you can set the related property in the command line. For example running our Demo Application ColorSchemeBuilder: org.apache.pivot.demos.styles.ColorSchemeBuilder with VM arguments (for example in eclipse): -Dorg.apache.pivot.wtk.skin.terra.location=TerraTheme_da

Re: Apache pivot color scheme

2013-11-05 Thread Roger and Beth Whitcomb
How exactly are you applying the color schemes to your application now? You say you are using JSON, so I imagine you have defined some styles in a JSON file... But, how do you apply these styles to your application? Are you using style names? ~Roger On 11/5/13 9:04 PM, phaneendra wrote: i