[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Border clipping in PAINTAREAITEM  XML
Forum Index -> Development
Author Message
unger

Power User

Joined: 22/07/2008 05:19:28
Messages: 261
Offline

Hi,

I found a border issue in case of using buttons inside PAINTAREA: The bottom border edge is clipped by the outer PAINTAREAITEM.

No problem with fields.

Regards,
Joachim
 Filename ClippingBorders.JPG [Disk] Download
 Description
 Filesize 31 Kbytes
 Downloaded:  297 time(s)

CaptainCasa

Power User
[Avatar]

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

...will check. Please also attach you JSP file.
Thanks + Regards! Björn

Björn Müller, CaptainCasa GmbH
unger

Power User

Joined: 22/07/2008 05:19:28
Messages: 261
Offline

The Testpage ...
 Filename testpage.jsp [Disk] Download
 Description
 Filesize 2 Kbytes
 Downloaded:  353 time(s)

unger

Power User

Joined: 22/07/2008 05:19:28
Messages: 261
Offline

Posting was deleted.
CaptainCasa

Power User
[Avatar]

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

Whatever "deleted" means... (?)
When sizing percentage-wise then the control always takes its minimum space. This is happening exactly here. You size it from outside (height 25 by PAINTAREAITEM), but the minimum height of the button is higher. So the result is that the component is cut accordingly. - The same happens to the text if you assign a PAINTAREAITEM-HEIGHT of 10.

Regards, Björn

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