Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How to set space between TableViewer and (parent) Composite?
How to set space between TableViewer and (parent) Composite? [message #548049] Tue, 20 July 2010 14:14 Go to next message
Stumppi is currently offline StumppiFriend
Messages: 11
Registered: July 2010
Junior Member
Hi,

I am adding a TableViewer object to a Composite. Is there a way to set some pixels of free space between the table border and the composite?

Scholle
Re: How to set space between TableViewer and (parent) Composite? [message #548319 is a reply to message #548049] Wed, 21 July 2010 13:28 Go to previous message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
Assuming you're using a Layout of some sort to position your Controls, this
is something that the Layout takes care of. For instance, if you're using a
GridLayout then I think that giving your TableViewer a GridData layout data
with its horizontalIndent and/or verticalIndent fields set to your desired
border width should give what you want.

Grant


"Stumppi" <Stumppi@web.de> wrote in message
news:i24avk$sv$1@build.eclipse.org...
> Hi,
> I am adding a TableViewer object to a Composite. Is there a way to set
> some pixels of free space between the table border and the composite?
>
> Scholle
Previous Topic:Platform Debug: Restrict launch configuration to one instance?
Next Topic:Build problem
Goto Forum:
  


Current Time: Fri Apr 26 11:44:48 GMT 2024

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

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

Back to the top