Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 9728 - layout problem: height of label that wraps
Summary: layout problem: height of label that wraps
Status: RESOLVED DUPLICATE of bug 13619
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---   Edit
Assignee: Martin Aeschlimann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-13 13:56 EST by Grant Gayed CLA
Modified: 2002-04-15 03:59 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Grant Gayed CLA 2002-02-13 13:56:27 EST
Eclipse M3, win32 or Motif

- Workbench -> Preferences
- Expand Java -> Classpath Variables
- note on this page that the label text at the top is the height of one line of 
text, but there's clearly more text to be shown (on win32 the line just ends, 
on Motif it attempts to split the space between two lines of text)

The following may be relevant:
- if you now click on the page below (Code Formatter) then back on the 
Classpath Variables page the label is now given enough height.  This is because 
the Code Formatter page forced the preferences dialog to expand, so there is 
now more space to accomodate the long label back on the Classpath Variables 
page.
Comment 1 Mike Wilson CLA 2002-02-13 14:59:13 EST
Someone failed to call pack after setting the text? Please verify that it's 
not something obvious in our code, then give the UI team a crack at it.
Comment 2 Grant Gayed CLA 2002-03-04 15:12:00 EST
The layout is being done by custom MGridLayout and MGridData objects.  This is 
probably where the problem is since the wrong behaviour appears on multiple 
platforms.  Forwarding to jdt-ui.

Comment 3 Erich Gamma CLA 2002-04-14 10:04:48 EDT
we got rid off MGridLayout, and now the lines do not wrap at all.
Comment 4 Martin Aeschlimann CLA 2002-04-15 03:59:20 EDT
moving back to desktop

see also bug 13619

*** This bug has been marked as a duplicate of 13619 ***