| Summary: | SWT: Multiline-Table looks a little bit poor | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Claudio Guglielmo <claudio.guglielmo> | ||||||
| Component: | Scout | Assignee: | Andreas Hoegger <Andreas.Hoegger> | ||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||
| Severity: | trivial | ||||||||
| Priority: | P3 | CC: | Andreas.Hoegger, zimmermann | ||||||
| Version: | unspecified | Flags: | zimmermann:
indigo+
zimmermann: juno+ |
||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
Created attachment 199657 [details]
screenshot
Created attachment 200163 [details]
Patch to solve the bug
The attached patch solves the issues with the margin and the line and reactivates the multiline feature.
Issue 3 (missing three dots) is not fixed but this is not necessary anymore. It looks fine now with the bigger margin.
Applied Patch on trunk and Indigo RC1. Thank you Claudio shipped with scout 3.7.1 removed iplog flag from ticket and added iplog flag to attachment |
Build Identifier: 3.7.0 If the property MultilineText is set to true the table changes its look. 1. The margins are not right (too much on the top of the row, too little on the bottom). 2. There is a line on the bottom of a row. Why? 3. If the column is too small to show all the text there should be three dots to indicate that there is more text. This is not the case 4. Reproducible: Always Steps to Reproduce: 1. Create a table and set MultilineText to true 2. You could also change the size of the font to see the margin problems better. Add this to ScoutFormToolkit: @Override public void adapt(Control control, boolean trackFocus, boolean trackKeyboard) { Font font = new Font(PlatformUI.getWorkbench().getDisplay(), "Tahoma", 10, 0); control.setFont(font); super.adapt(control, trackFocus, trackKeyboard); } 3. Start SWT-UI