| Summary: | Swing: Missing tool tips for "cut-off labels" | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Beat Schwarzentrub <bsh> | ||||||||
| Component: | Scout | Assignee: | Project Inbox <scout.core-inbox> | ||||||||
| Status: | CLOSED WONTFIX | QA Contact: | |||||||||
| Severity: | minor | ||||||||||
| Priority: | P3 | ||||||||||
| Version: | unspecified | ||||||||||
| Target Milestone: | --- | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Windows XP | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
Created attachment 200984 [details]
04-CutOffLabels-Swing.png
Created attachment 200985 [details]
04-CutOffLabels-Tooltip.png
Created attachment 200986 [details]
04-CutOffLabels-Examples.java
Swing support for Scout is no longer maintained in the open source domain. In case you need a bug to be fixed please consider our commercial options. |
Build Identifier: 3.7.0.2011-Jun 2011 PROBLEM DESCRIPTION: When a text is too long for a label's width, the text is cut off, three dots are added (...). The full text can be seen in the label's tool tip. Labels are cut off correctly for buttons, radio buttons and check boxes, but no tool tip with the full text is shown. (See attached example.) EVALUATION: Tool tips for cut-off labels are generated by JLabelEx ("setAppropriateTooltipTextEx()"). This functionality is missing for JButton(Ex), JCheckBox(Ex) and JRadioButton(Ex). PROPOSED SOLUTION: Improve JButtonEx, JCheckBoxEx and JRadioButtonEx according to the existing code in JLabelEx. Reproducible: Always