Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Nebula Grid horizontal lines
Nebula Grid horizontal lines [message #1512197] Mon, 15 December 2014 09:43 Go to next message
Eclipse UserFriend
Hi,

as the only bug I had has been resolved, I continue my work with Nebula
Grid.
On one of my screen, I need to show horizontal lines between items.

The setLinesVisible() method only allow me to see vertical lines between
comlumns.

Is there anything I need to use to have horizontal lines ?

I had a look at
org.eclipse.swt.internal.widgets.controlkit.ControlThemeAdapterImpl and
didn't find a way to do that through theming neither.

Thierry
Re: Nebula Grid horizontal lines [message #1515032 is a reply to message #1512197] Wed, 17 December 2014 15:23 Go to previous messageGo to next message
Eclipse UserFriend
Hi,
did you try the following CSS:

|Tree-GridLine:horizontal {
color: #d0d0d0;
}|

HTH,
Ivan

--
Ivan Furnadjiev

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Nebula Grid horizontal lines [message #1536606 is a reply to message #1515032] Tue, 30 December 2014 05:05 Go to previous messageGo to next message
Eclipse UserFriend
Hi Ivan,

Thanks for the answer.
However this does not work with a custom variant.

The following does not work:

|Tree-GridLine.myGrid:horizontal {
color: #d0d0d0;
}|


Also currently it seems that rwt table widgets draw horizontal lines even if there is no rowitem in the table.
e.g. If the table contains 3 items but the table is height enough to display 10 RWT will draw 9 horizontal lines.

Is there a way to draw horizontal lines only around actual rowitems in the table?
Re: Nebula Grid horizontal lines [message #1547084 is a reply to message #1536606] Mon, 05 January 2015 03:13 Go to previous messageGo to next message
Eclipse UserFriend
Hi Sebastien,
please open a bugzilla about the first issue - custom variant not
respected for Tree-GridLine.
I've tested the horizontal grid lines with current RAP from git master
and they are shown only for the rows with actual data. You can check
this in our Controls Demo by selecting "linesVisible" on Tree/Table tab.
Nebula Grid behaves the same. Which RAP version are you using?
Regards,
Ivan

--
Ivan Furnadjiev

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Nebula Grid horizontal lines [message #1547360 is a reply to message #1547084] Mon, 05 January 2015 06:32 Go to previous messageGo to next message
Eclipse UserFriend
Hi Ivan,

For the first problem I created "Bug 456667 - [Theming][Nebula Grid] Horizontal lines theming does not work with custom variant" for the first issue with a snippet to reproduce.



Regarding the horizontal lines on missing rows.
We are using rap 3.0.0.20141125-0949
It seems that the problem appears only if you customize the horizontal lines through theming the snippet attached in bug 456667 also shows the problem.
Re: Nebula Grid horizontal lines [message #1564182 is a reply to message #1547360] Wed, 14 January 2015 11:56 Go to previous message
Eclipse UserFriend
Should I create another bug for the horizontal lines on rows that do not exist?
Previous Topic:Client Error probably caused by Hyperlink Form Widget
Next Topic:Nebula grid footer css (RAP 2.3)
Goto Forum:
  


Current Time: Wed Jul 16 23:58:38 EDT 2025

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

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

Back to the top