Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » Nattable Dark theme and white patch
Nattable Dark theme and white patch [message #1836120] Tue, 22 December 2020 00:51 Go to next message
Santhosh Kumar is currently offline Santhosh KumarFriend
Messages: 44
Registered: March 2011
Member
We are using Nattable dark theme. It works good but there is a patch at the end of the row or column if we don't have any rows or not enough columns.

That area (not sure what you call that area) is not themed for Dark and it shows as white patch.

Any idea how to style it so it gets the default widget bg color?

Re: Nattable Dark theme and white patch [message #1836124 is a reply to message #1836120] Tue, 22 December 2020 04:29 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2902
Registered: July 2012
Senior Member
That is because of the background color of the NatTable instance. That is not controlled via NatTable styling. You need to set the background color via SWT mechanism NatTable#setBackground()
Re: Nattable Dark theme and white patch [message #1836157 is a reply to message #1836120] Tue, 22 December 2020 18:56 Go to previous messageGo to next message
Santhosh Kumar is currently offline Santhosh KumarFriend
Messages: 44
Registered: March 2011
Member
Thank you Dirk, it's working great.

Curious about design thought on why it was not set when we assigned the dark theme?
Re: Nattable Dark theme and white patch [message #1836158 is a reply to message #1836157] Tue, 22 December 2020 19:13 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2902
Registered: July 2012
Senior Member
Are you asking a question? Was my answer not clear enough?
Re: Nattable Dark theme and white patch [message #1836159 is a reply to message #1836158] Tue, 22 December 2020 20:03 Go to previous message
Santhosh Kumar is currently offline Santhosh KumarFriend
Messages: 44
Registered: March 2011
Member
Nevermind.

Your answer was clear but I was assuming that it should have been set by theme manager. But I see what you mean that it is not styling but background is not part of Nattable.
Previous Topic:NatTable 2.0 released
Next Topic:Hierarchical Nat table
Goto Forum:
  


Current Time: Tue Apr 23 10:28:22 GMT 2024

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

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

Back to the top