Skip to main content



      Home
Home » Eclipse Projects » NatTable » Hide horizontal lines only(how to hide only horizontal grid lines)
Hide horizontal lines only [message #1716877] Tue, 08 December 2015 12:57 Go to next message
Eclipse UserFriend
I'm trying to achieve the nativish look of nattable on mac, where the horizontal grid lines are not displayed, but failed so far to find an option do disable drawing of horizontal lines only. Is there is a way to do so? There is a overridable method in the theme configuration to disable both horizontal and vertical lines getRenderBodyGridLines() but that's too much.
Re: Hide horizontal lines only [message #1716888 is a reply to message #1716877] Tue, 08 December 2015 14:57 Go to previous messageGo to next message
Eclipse UserFriend
No there is no such configuration. You need to implement and register a custom GridLineCellLayerPainter
Re: Hide horizontal lines only [message #1717157 is a reply to message #1716888] Thu, 10 December 2015 05:51 Go to previous messageGo to next message
Eclipse UserFriend
Done. Another question, in order not to start another topic. Is there some sort of NatGridLayerPainter which fills in the rest of the space respecting alternating row background? Just to make sure, I'm not reinventing the wheel.
Re: Hide horizontal lines only [message #1717162 is a reply to message #1717157] Thu, 10 December 2015 06:34 Go to previous message
Eclipse UserFriend
Quote:
Is there some sort of NatGridLayerPainter which fills in the rest of the space respecting alternating row background?


No
Previous Topic:default column size issue
Next Topic:Multi row DnD
Goto Forum:
  


Current Time: Mon Jun 23 00:22:31 EDT 2025

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

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

Back to the top