right border problem on StyledLabel

This is the forum for JIDE Common Layer which is open sourced at https://github.com/jidesoft/jide-oss. Please note, JIDE technical support doesn't monitor this forum as often as other forums. Please consider subscribe for technical support for JIDE Common Layer so that you can use customer only forum to get a timely response.

Moderator: JIDE Support

Forum rules
Community driven forum for open source JIDE Common Layer. JIDE technical support doesn't monitor this forum as often as other forums. If you only use JIDE Common Layer, please consider subscribing for technical support for JIDE Common Layer so that you can use customer only forum to get a timely response.

right border problem on StyledLabel

Postby andrednasoftware » Tue Apr 10, 2012 12:36 pm

When using a right border on StyledLabel seems that border overlaps the text, hiding it

Sample code:

Code: Select all
StyledLabel label = new StyledLabelBuilder().add("Some text to test", Font.BOLD).createLabel();
label.setBorder(BorderFactory.createLineBorder(Color.RED, 10));


When rendering, the final portion "st" of label text disappeared.
andrednasoftware
 
Posts: 18
Joined: Fri Jul 01, 2011 4:42 pm

Re: right border problem on StyledLabel

Postby JIDE Support » Tue Apr 10, 2012 1:53 pm

Just tried your code in 3.3.7 and it works fine for me. Can you please give the latest release a try if you are on an older release?

Thanks,
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 37219
Joined: Sun Sep 14, 2003 10:49 am


Return to JIDE Common Layer Open Source Project Discussion (Community Driven)

Who is online

Users browsing this forum: No registered users and 3 guests