Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #4653

Re: Label clipping using Nimbus L&F

From "John B. Matthews" <nospam@nospam.invalid>
Newsgroups comp.lang.java.gui
Subject Re: Label clipping using Nimbus L&F
Date 2011-08-20 03:58 -0400
Organization The Wasteland
Message-ID <nospam-8A3210.03581320082011@news.aioe.org> (permalink)
References <cfd76ad7-bcc7-44eb-b670-980c9cb2997e@m6g2000prh.googlegroups.com> <pan.2011.08.19.22.07.51@gmail.com>

Show all headers | View raw


In article <pan.2011.08.19.22.07.51@gmail.com>, Tom <tom400f@gmail.com> 
wrote:

> On Fri, 19 Aug 2011 13:30:14 -0700, Fred wrote:
> 
> > When I use Nimbus Look-and-feel, often the text in a JLabel, 
> > JButton, or JToggleButton will be partially clipped. This does not 
> > happen with Metal or Motif. Any suggestions how to solve this?
> 
> When you say "partially clipped" do you mean the text (say "Does Not 
> Fit") appears as "Does Not F..." ?
> 
> Do you have layout constraints (with a small 'c' that is) that are 
> preventing the affected components from attaining a suitable size to 
> display their text?

Good insight; BoxLayout is an example:

<http://stackoverflow.com/questions/7114799>

-- 
John B. Matthews
trashgod at gmail dot com
<http://sites.google.com/site/drjohnbmatthews>

Back to comp.lang.java.gui | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Label clipping using Nimbus L&F Fred <fred.l.kleinschmidt@boeing.com> - 2011-08-19 13:30 -0700
  Re: Label clipping using Nimbus L&F Tom <tom400f@gmail.com> - 2011-08-19 22:07 +0000
    Re: Label clipping using Nimbus L&F "John B. Matthews" <nospam@nospam.invalid> - 2011-08-20 03:58 -0400
  Re: Label clipping using Nimbus L&F Roedy Green <see_website@mindprod.com.invalid> - 2011-08-19 17:11 -0700
    Re: Label clipping using Nimbus L&F Tom <tom400f@gmail.com> - 2011-08-20 11:07 +0000
  Re: Label clipping using Nimbus L&F "John B. Matthews" <nospam@nospam.invalid> - 2011-08-20 03:54 -0400

csiph-web