|
Re: Theme problem [message #56529 is a reply to message #56499] |
Wed, 31 October 2007 07:54 |
Eclipse User |
|
|
|
Originally posted by: benedikt.arnold.beyondsoft.de
Hi!
I got the same problem some days ago. Try to unset the title background
image like this
shell.title.active.bgimage: none
and then set the title background color.
Greetings,
Ben
"Christian" <zerostress@libero.it> schrieb im Newsbeitrag
news:fg82h6$4a3$1@build.eclipse.org...
> Hi,
> i've set in my theme properties file the field
>
> shell.title.background = #000000
>
> in order to change the background in the shell title; anyway nothing
> happens and the color remains the default one (blue). changing another
> prop in the file, it works fine.
>
> I've put also in the code the following sys.out
>
> System.out.println(PlatformUI.getWorkbench().getDisplay().ge tSystemColor(SWT.COLOR_TITLE_BACKGROUND));
>
> and it prints
>
> Color {0, 0, 0}
>
> So the color black is set but the shell title background is not refreshed.
>
> Any suggestion?
>
> Thanks
> Christian
|
|
|
|
Re: Theme problem [message #56583 is a reply to message #56556] |
Wed, 31 October 2007 09:12 |
Eclipse User |
|
|
|
Originally posted by: benedikt.arnold.beyondsoft.de
Hi!
Here is my complete Theme file. Try to set the background gradient too.
# Background color for the title bar of active Shells
# default: #0080c0
shell.title.background: #678187
# Second background color for the title bar of active Shells (used for
gradient)
# default: #0080c0
shell.title.background.gradient: #678187
# Background image for title bar of active Shells
# default:
shell.title.active.bgimage: none
# Border for shells without BORDER and TITLE style
# default: 1px solid black
shell.border: 1px solid #678187
# Border for shells with BORDER or TITLE style
# default: 2px outset
shell.BORDER.border: 2px outset #678187
list.selection.background: #a0bf7d
"Christian" <zerostress@libero.it> schrieb im Newsbeitrag
news:fg9fnr$fk7$1@build.eclipse.org...
> Hi Ben,
>
> with the bgimage=none it doesn't work...but if i use an image, the bg
> color is set.
> Thanks a lot
>
> Christian
>
>
>
> Benedikt Arnold ha scritto:
>> Hi!
>>
>> I got the same problem some days ago. Try to unset the title background
>> image like this
>> shell.title.active.bgimage: none
>>
>> and then set the title background color.
>>
>> Greetings,
>>
>> Ben
>>
>> "Christian" <zerostress@libero.it> schrieb im Newsbeitrag
>> news:fg82h6$4a3$1@build.eclipse.org...
>>> Hi,
>>> i've set in my theme properties file the field
>>>
>>> shell.title.background = #000000
>>>
>>> in order to change the background in the shell title; anyway nothing
>>> happens and the color remains the default one (blue). changing another
>>> prop in the file, it works fine.
>>>
>>> I've put also in the code the following sys.out
>>>
>>> System.out.println(PlatformUI.getWorkbench().getDisplay().ge tSystemColor(SWT.COLOR_TITLE_BACKGROUND));
>>>
>>> and it prints
>>>
>>> Color {0, 0, 0}
>>>
>>> So the color black is set but the shell title background is not
>>> refreshed.
>>>
>>> Any suggestion?
>>>
>>> Thanks
>>> Christian
>>
>>
|
|
|
|
Re: Theme problem [message #56661 is a reply to message #56606] |
Wed, 31 October 2007 16:08 |
Eclipse User |
|
|
|
Originally posted by: rsternberg.innoopract.com
Hi Christian,
A background image covers the widget background and thus hides the
background color. Setting the background image to "none" should work.
Background gradients are not yet supported. The only effect of setting
the bg gradient color is that the corresponding SWT System Color changes.
Best Regards,
Ralf
Christian schrieb:
> Hi,
> the bg gradient doesn't work. Any suggestions?
>
> Christian
>
>
>
> Benedikt Arnold ha scritto:
>> Hi!
>> Here is my complete Theme file. Try to set the background gradient too.
>>
>> # Background color for the title bar of active Shells
>>
>> # default: #0080c0
>>
>> shell.title.background: #678187
>>
>>
>> # Second background color for the title bar of active Shells (used for
>> gradient)
>>
>> # default: #0080c0
>>
>> shell.title.background.gradient: #678187
>>
>>
>> # Background image for title bar of active Shells
>>
>> # default:
>>
>> shell.title.active.bgimage: none
>>
>>
>> # Border for shells without BORDER and TITLE style
>>
>> # default: 1px solid black
>>
>> shell.border: 1px solid #678187
>>
>>
>> # Border for shells with BORDER or TITLE style
>>
>> # default: 2px outset
>>
>> shell.BORDER.border: 2px outset #678187
>>
>>
>> list.selection.background: #a0bf7d
>>
>>
>>
>> "Christian" <zerostress@libero.it> schrieb im Newsbeitrag
>> news:fg9fnr$fk7$1@build.eclipse.org...
>>> Hi Ben,
>>>
>>> with the bgimage=none it doesn't work...but if i use an image, the bg
>>> color is set.
>>> Thanks a lot
>>>
>>> Christian
>>>
>>>
>>>
>>> Benedikt Arnold ha scritto:
>>>> Hi!
>>>>
>>>> I got the same problem some days ago. Try to unset the title background
>>>> image like this
>>>> shell.title.active.bgimage: none
>>>>
>>>> and then set the title background color.
>>>>
>>>> Greetings,
>>>>
>>>> Ben
>>>>
>>>> "Christian" <zerostress@libero.it> schrieb im Newsbeitrag
>>>> news:fg82h6$4a3$1@build.eclipse.org...
>>>>> Hi,
>>>>> i've set in my theme properties file the field
>>>>>
>>>>> shell.title.background = #000000
>>>>>
>>>>> in order to change the background in the shell title; anyway nothing
>>>>> happens and the color remains the default one (blue). changing another
>>>>> prop in the file, it works fine.
>>>>>
>>>>> I've put also in the code the following sys.out
>>>>>
>>>>> System.out.println(PlatformUI.getWorkbench().getDisplay().ge tSystemColor(SWT.COLOR_TITLE_BACKGROUND));
>>>>>
>>>>> and it prints
>>>>>
>>>>> Color {0, 0, 0}
>>>>>
>>>>> So the color black is set but the shell title background is not
>>>>> refreshed.
>>>>>
>>>>> Any suggestion?
>>>>>
>>>>> Thanks
>>>>> Christian
>>
|
|
|
Powered by
FUDForum. Page generated in 0.06690 seconds