Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Border of table(Remove the border of the table)
Border of table [message #1350750] Mon, 12 May 2014 20:16 Go to next message
steve dobbs is currently offline steve dobbs
Messages: 12
Registered: March 2014
Junior Member
Does anyone know how i could remove the border of the table?.If it is not possible to remove the border,atleast i could change the color of border to white so it doesn't show on eclipse properties tab.I tried everything include setting the borderstyle of the composite to 0 and SWT.null.nothing works.The border still shows.

[Updated on: Mon, 12 May 2014 20:17]

Report message to a moderator

Re: Border of table [message #1384673 is a reply to message #1350750] Fri, 30 May 2014 08:45 Go to previous message
Niraj Modi is currently offline Niraj Modi
Messages: 17
Registered: November 2013
Junior Member
Hi Steve,
SWT.BORDER style shouldn't be applied on a Table, if you don't need table border.
Table table = new Table(shell, SWT.NONE); // SWT.BORDER will show the border
To hide the row grid lines use below method
table.setLinesVisible(false);

Hope this helps.
Previous Topic:UTF-8 Char are not displaying in TableViewer SWT
Next Topic:Security Issues in SWT 4.3 version for Windows and MAC
Goto Forum:
  


Current Time: Sat Oct 25 15:24:04 GMT 2014

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

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