Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » CSS + Markup support for TreeItem
CSS + Markup support for TreeItem [message #913129] Fri, 14 September 2012 20:38 Go to next message
Ronald So is currently offline Ronald SoFriend
Messages: 198
Registered: April 2011
Senior Member
Hi,

I have the following code in CSS to style the Tree cell.

Tree-Cell {
    spacing: 0
    padding: 10px 6px;
}


It works fine before I set the Tree object with RWT.MARKUP_ENABLED to Boolean.TRUE. As soon as I set it to true, the padding is not applied anymore.

Is this a bug or is this the expected behavior? If this is the latter case, how can I insert the padding back with markup equals true?

I am using RAP 1.5 RC3.

Thanks so much.
Ronald
Re: CSS + Markup support for TreeItem [message #915403 is a reply to message #913129] Mon, 17 September 2012 07:57 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2427
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi,
yes... it is a known problem, but I think that we don't have a bugzilla
about it. Please open one.
Thanks,
Ivan

On 9/14/2012 11:38 PM, Ronald So wrote:
> Hi,
>
> I have the following code in CSS to style the Tree cell.
>
>
> Tree-Cell {
> spacing: 0
> padding: 10px 6px;
> }
>
>
> It works fine before I set the Tree object with RWT.MARKUP_ENABLED to
> Boolean.TRUE. As soon as I set it to true, the padding is not applied
> anymore.
>
> Is this a bug or is this the expected behavior? If this is the latter
> case, how can I insert the padding back with markup equals true?
>
> I am using RAP 1.5 RC3.
>
> Thanks so much.
> Ronald
>

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: CSS + Markup support for TreeItem [message #915925 is a reply to message #915403] Tue, 18 September 2012 08:17 Go to previous messageGo to next message
Tim Buschtoens is currently offline Tim BuschtoensFriend
Messages: 396
Registered: July 2009
Senior Member
Hi.

> Hi,
> yes... it is a known problem, but I think that we don't have a bugzilla
> about it. Please open one.


Actually, i thik we have:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=373652
[Table][Tree] Vertical cell-padding is not applied correctly


Greetings,
Tim

--
Tim Buschtöns

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: CSS + Markup support for TreeItem [message #916134 is a reply to message #915925] Tue, 18 September 2012 15:43 Go to previous message
Ronald So is currently offline Ronald SoFriend
Messages: 198
Registered: April 2011
Senior Member
Thank you, Tim & Ivan. Since this is not a regression (or is it?), it won't have a chance to be fixed in 1.5, right?

[Updated on: Tue, 18 September 2012 15:44]

Report message to a moderator

Previous Topic:Widget ID's for composites
Next Topic:Dynamically Created Images in Tables
Goto Forum:
  


Current Time: Thu Sep 26 06:35:00 GMT 2024

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

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

Back to the top