[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Height issue with TextWithLinks > Scrollpane > Grid  XML
Forum Index -> Development
Author Message
rspiller

Power User

Joined: 20/04/2012 07:37:01
Messages: 59
Offline

Hi there,

i've got a little issue with a textwithlinks component inside a grid.

If I am placing it directly into a grid column, all works fine.
If the text is quite big (bigger than the height of the row), the content will be cut.
So I placed the textwithlinks inside a scrollpane and that scrollpane in to the grid. Now for big texts it works fine: There is a scrollbar.
But small text, which won't need a scrollbar, are displayed as very thin line (see Screenshots).

Setup of the column:

Code:
         SCROLLPANENode scrollPane = new SCROLLPANENode().setWidth("100%").setHeight("100%");
         ROWNode row = new ROWNode();
         TEXTWITHLINKSNode field = new TEXTWITHLINKSNode()
                                 .setText(getValueBinding())
                                 .setWidth("100%")
                                 .setFont("size:11;family:Tahoma")
                                 .setBgpaint(bgPaintBinding);
         row.addSubNode(field);
         scrollPane.addSubNode(row);
 


All fine without the scrollpane - expect for long content.
[Thumb - textwithlinks_height_issue.png]
 Filename textwithlinks_height_issue.png [Disk] Download
 Description
 Filesize 13 Kbytes
 Downloaded:  357 time(s)

CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5521
Offline

...will check!
Thanks... Björn

Björn Müller, CaptainCasa GmbH
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5521
Offline

There was a problem with size management when using TEXTWITHLINKS (same with TEXTPANE) inside a SCROLLPANE inside a GRIDCOL. The problem is fixed now (20160822, not yet available).

Thanks! Björn

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team