As you found, you can call theme.setFont() to override the the theme's
font.  If you want to load a custom theme properties file (including the
theme colors), this is now accomplished via the
"org.apache.pivot.wtk.skin.terra.location" system property. If unspecified,
this defaults to "org/apache/pivot/wtk/skin/terra/TerraTheme_default.json".

-T

On Thu, Oct 8, 2009 at 12:18 PM, Vicente de Rivera III <
[email protected]> wrote:

> Is this still working? I can see TerraTheme_dark from
> org.apache.pivot.tutorials
>
>         args = new
> String[]{"--terraColors=org/apache/pivot/tutorials/TerraTheme_dark.json"};
>         DesktopApplicationContext.main(KitchenSink.class, args);
>
> I'd like to set the default font size bigger, how do I do that?
>
> thanks
>
> On Tue, Sep 8, 2009 at 8:54 PM, Sandro Martini 
> <[email protected]>wrote:
>
>> Hi to all,
>> I've just submitted this feature in Subversion, scheduled for the 1.3
>> release.
>>
>> You can try it in the Kitchen Sink (at the moment from the trunk), but
>> you have to pass a command-line argument like the following:
>>
>> --terraColors=org/apache/pivot/tutorials/TerraTheme_dark.json
>> or
>> --terraColors=org/apache/pivot/wtk/skin/terra/TerraTheme_test.json
>>
>> The TerraTheme_dark.json contains comments on the usage of Palette
>> Colors from the TerraTheme, so you can make your experiments in a
>> simpler way.
>>
>>
>> Tell me what do you think.
>>
>> Bye,
>> Sandro
>>
>
>

Reply via email to