Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » NatTable Zooming
NatTable Zooming [message #1782233] Tue, 20 February 2018 19:15 Go to next message
Louis Detweiler is currently offline Louis DetweilerFriend
Messages: 57
Registered: August 2017
Member
Looking at previous forum posts, it seems that NatTable has zooming capability, but it doesn't affect the font sizes in cells. Is this still the case, and if so would it be possible to create a workaround that would also increase/decrease the size of the fonts in the cells?
Re: NatTable Zooming [message #1782264 is a reply to message #1782233] Wed, 21 February 2018 05:54 Go to previous message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2614
Registered: July 2012
Senior Member
Nobody looked into the zooming, so yes I guess the issue is till present. To make everything work, you probably need to tell the GC to apply a scaling transform. This is how we do this for printing.

But if you only apply the scaling transform, the rendering will look fine, but probably there will be side effects because the width/height calculations for cells might not be in sync.

So a workaround could be applying a scaling transform in the TextPainter. But you need to ensure to remove it after the painting again to avoid side effects I guess.
Previous Topic:Is it possible to put filter dropdown with column header ?
Next Topic:NatTable 1.6 release date
Goto Forum:
  


Current Time: Sun Sep 23 13:55:24 GMT 2018

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

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

Back to the top