This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 82143 - Text alignment w/ JSpinner difficult
Summary: Text alignment w/ JSpinner difficult
Status: RESOLVED DUPLICATE of bug 60570
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-08 10:08 UTC by _ tboudreau
Modified: 2006-08-10 11:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ tboudreau 2006-08-08 10:08:09 UTC
Try to align a JLabel so its text looks centered in relation to the track of a
horizontal JSpinner - not easy.  Probably the spinner should do something
reasonable about having a font baseline even though it is without text.
Comment 1 Jan Stola 2006-08-10 11:08:30 UTC
I guess you meant JSlider instead of JSpinner.

This use case has nothing to do with baseline e.g. it doesn't have a sense
to implement dummy baseline to achieve centering. Instead we should add
a support for centering of (group of) components.

*** This issue has been marked as a duplicate of 60570 ***