Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 138008 - dtd property sheet elements are not laid out nicely
Summary: dtd property sheet elements are not laid out nicely
Status: CLOSED FIXED
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.dtd (show other bugs)
Version: 1.5   Edit
Hardware: PC Windows XP
: P4 minor (vote)
Target Milestone: 1.5 RC3   Edit
Assignee: Amy Wu CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 141106
Blocks:
  Show dependency tree
 
Reported: 2006-04-21 13:20 EDT by Amy Wu CLA
Modified: 2006-06-19 17:47 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 Amy Wu CLA 2006-04-21 13:20:20 EDT
There is a big gap between the property sheet header and the property sheet elements.
Comment 1 Amy Wu CLA 2006-05-16 13:58:06 EDT
This is because there is an EmptySection added to each dtd node property sheet (probably so that a property page still shows up even though we come across an unknown node)  So half the property sheet is the empty section. To fix:

org.eclipse.wst.dtd.ui.internal.properties.section.EmptySection
Add the following method (to override AbstractSection's implementation)
	public int getMinimumHeight() {
		return 0;
	}

Comment 2 Amy Wu CLA 2006-05-17 16:51:36 EDT
Marking this dependent on bug 141106 because that bug's fix includes fix for
this bug.
Comment 3 Amy Wu CLA 2006-05-17 17:28:58 EDT
Since bug 141106 is fixed, so is this one.
Comment 4 Amy Wu CLA 2006-06-19 17:47:27 EDT
even though bug 141106 was reopened, verified this bug is fixed in wtp 1.5rc5