Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Theming >1.1M4
Theming >1.1M4 [message #93741] Tue, 17 June 2008 09:08 Go to next message
NkD Missing name is currently offline NkD Missing nameFriend
Messages: 61
Registered: July 2009
Member
I did checkout RAP 1.1-RC4 and tried run my project on it.
First what I see was bad theme color of my project.

I use theme.properties (with 1.1.M3) and new version of RAP this
properties read differently. By example: color of tab represent view is
pink. I don't have this color in my properties. I dont know where RAP
take this pink color. Theming by properties is wrong and confused.

I tried new format of theming - css. If properties was confused, new css
is very confused. Somewhere isn't completely css pattern, where i have
total list of element, params, state atc..
I found in rwt bundle individuals xml (TabFolder.theme.xml,
Button.theme.xml etc..) but when I tried coloring Table-GridLine by
description from file Table.theme.xml, RAP ignore it and coloring grid
lines alogn style * {color: }

I am confused. I mean that theming in RAP >1.1M4 should be repaired,
because too many bug here.
Re: Theming >1.1M4 [message #93771 is a reply to message #93741] Tue, 17 June 2008 10:24 Go to previous messageGo to next message
NkD Missing name is currently offline NkD Missing nameFriend
Messages: 61
Registered: July 2009
Member
Next bug which i found is element Group-Frame and Group-Label.
Group-Label isn't in descriptor Group.theme.xml. There is only
Group-Frame twice.


Michal NkD Nikodím napsal(a):
> I did checkout RAP 1.1-RC4 and tried run my project on it.
> First what I see was bad theme color of my project.
>
> I use theme.properties (with 1.1.M3) and new version of RAP this
> properties read differently. By example: color of tab represent view is
> pink. I don't have this color in my properties. I dont know where RAP
> take this pink color. Theming by properties is wrong and confused.
>
> I tried new format of theming - css. If properties was confused, new css
> is very confused. Somewhere isn't completely css pattern, where i have
> total list of element, params, state atc..
> I found in rwt bundle individuals xml (TabFolder.theme.xml,
> Button.theme.xml etc..) but when I tried coloring Table-GridLine by
> description from file Table.theme.xml, RAP ignore it and coloring grid
> lines alogn style * {color: }
>
> I am confused. I mean that theming in RAP >1.1M4 should be repaired,
> because too many bug here.
Re: Theming >1.1M4 [message #93786 is a reply to message #93741] Tue, 17 June 2008 10:32 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rsternberg.innoopract.com

Hi Michael,

First of all - I'm sorry for the confusion. Theming by CSS is still
developing and we didn't have enough time to get it straight in this
release cycle. However, theming using properties should still work as it
did before.

Michal NkD Nikodím wrote:
> I did checkout RAP 1.1-RC4 and tried run my project on it.
> First what I see was bad theme color of my project.
>
> I use theme.properties (with 1.1.M3) and new version of RAP this
> properties read differently. By example: color of tab represent exactly does your theme.properties file look like? The CTabFolder is view is
> pink. I don't have this color in my properties. I dont know where RAP
> take this pink color.

Neither do I. Note that in the workbench, the CTabFolder appearance is
meanwhile controlled by the workbench theming, not the RWT theming. The
color of the selected tab in the active part is derived from the list
selection system color, as it is in RCP. Do you use a custom workbench
theme? What is the value of the system color SWT.COLOR_LIST_SELECTION?

> Theming by properties is wrong and confused.

Could you be more precise here? The property system remained nearly
unchanged. Only a few new properties have been added since M3.

> I tried new format of theming - css. If properties was confused, new css
> is very confused. Somewhere isn't completely css pattern, where i have
> total list of element, params, state atc..

We plan to make such a list available as part of the RAP Help. Moreover,
a Google Summer of Code project currently develops a theme editor for
RAP [1], which will simplify the creation of custom themes in CSS format.

> I found in rwt bundle individuals xml (TabFolder.theme.xml,
> Button.theme.xml etc..) but when I tried coloring Table-GridLine by
> description from file Table.theme.xml, RAP ignore it and coloring grid
> lines alogn style * {color: }
>
> I am confused. I mean that theming in RAP >1.1M4 should be repaired,
> because too many bug here.

For now, only those properties that are available in the properties
files, can also be set using CSS files. You're right, this results in a
very confusing interface. We will repair this as soon as possible after
the 1.1 release.

Best regards,
Ralf

[1] http://wiki.eclipse.org/RAP_Theme_Editor
Re: Theming >1.1M4 [message #93801 is a reply to message #93771] Tue, 17 June 2008 10:33 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rsternberg.innoopract.com

Michal NkD Nikodím wrote:
> Next bug which i found is element Group-Frame and Group-Label.
> Group-Label isn't in descriptor Group.theme.xml. There is only
> Group-Frame twice.

Yes, this is a typo. Thanks for reporting.

Ralf
Re: Theming >1.1M4 [message #93829 is a reply to message #93786] Tue, 17 June 2008 11:06 Go to previous messageGo to next message
NkD Missing name is currently offline NkD Missing nameFriend
Messages: 61
Registered: July 2009
Member
Ralf Sternberg napsal(a):
> Neither do I. Note that in the workbench, the CTabFolder appearance is
> meanwhile controlled by the workbench theming, not the RWT theming. The
> color of the selected tab in the active part is derived from the list
> selection system color, as it is in RCP. Do you use a custom workbench
> theme? What is the value of the system color SWT.COLOR_LIST_SELECTION?

Thx for advice. I must look at it. Custom workbench theming is new for me.

I want wish you good luck in next work. RAP is excelent piece of code,
but right now is little more bugy (theme, key event, shells, redraws).
Re: OT: Theming >1.1M4 [message #93844 is a reply to message #93801] Tue, 17 June 2008 11:46 Go to previous message
NkD Missing name is currently offline NkD Missing nameFriend
Messages: 61
Registered: July 2009
Member
This is a multi-part message in MIME format.
--------------050006030500050909000609
Content-Type: text/plain; charset=ISO-8859-2; format=flowed
Content-Transfer-Encoding: 8bit

Ralf Sternberg napsal(a):
> Michal NkD Nikod
Previous Topic:Image disappear in table item
Next Topic:Image in a Label
Goto Forum:
  


Current Time: Thu Apr 25 01:16:54 GMT 2024

Powered by FUDForum. Page generated in 0.04058 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top