Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » Native look and feel(Native look and feel)
Native look and feel [message #1701615] Tue, 14 July 2015 13:11 Go to next message
Pawel Pogorzelski is currently offline Pawel PogorzelskiFriend
Messages: 40
Registered: July 2009
Member
Guys, is it possible to setup NatTable to look like native tables? And I don't mean hardcoding style for one particular OS, want it to adapt to any OS L&F.

Cheers,
Pawel
Re: Native look and feel [message #1701622 is a reply to message #1701615] Tue, 14 July 2015 13:32 Go to previous messageGo to next message
André Forberg is currently offline André ForbergFriend
Messages: 8
Registered: July 2015
Junior Member
Currently it is not possible (somebody else may correct me), because every color or font is read from the NatTable internal registry. You have to explicitly adjust everything on your own.

So you may have to create your own look&feel-theme, which is possible since NatTable version 1.1.0.

Hope that helps.

André
Re: Native look and feel [message #1701627 is a reply to message #1701615] Tue, 14 July 2015 14:00 Go to previous message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2803
Registered: July 2012
Senior Member
No, it is custom painted and I don't know a way how to retrieve all the OS specific styles that would be necessary. Of course you can retrieve some OS specific styles like default font for example, but regarding headers and stuff I don't see a generic way.
Previous Topic:Nabula Grid
Next Topic:NatTable in Eclipse RAP with RAPe4 Incubator
Goto Forum:
  


Current Time: Sun Mar 07 21:55:53 GMT 2021

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

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

Back to the top