Summary: | Cannot get height of Menu and no capabilities for work around | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Greg Roberts <gwrobert> |
Component: | SWT | Assignee: | Grant Gayed <grant_gayed> |
Status: | RESOLVED DUPLICATE | QA Contact: | |
Severity: | enhancement | ||
Priority: | P3 | CC: | scottp, steve_northover |
Version: | 3.0 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Greg Roberts
2003-12-09 10:23:20 EST
Will investigate determining a menu's size on the various platforms. I've done some looking at this today. The platforms seem to support it (haven't checked mac yet), though they each have quirks w.r.t. giving the correct answer, particularly for x and y location (width and height generally work better). I'll bring this up with others next week once they return from eclipseCon. Fixed > 0220. There was more resistance to this than I expected. Added new api Menu.getSize() which returns a Point representing the size of a visible popup, pulldown, or bar. Reopening. api has been removed because in order for it to work it requires that a menu be visible, which defeats the main use case for this. Still looking into this. |