Bug 60657 - Default size of Shell is too big in multi-monitors
Summary: Default size of Shell is too big in multi-monitors
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.0   Edit
Hardware: PC All
: P1 normal (vote)
Target Milestone: 3.0 RC2   Edit
Assignee: Christophe Cornu CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-30 17:53 EDT by Silenio Quarti CLA
Modified: 2004-06-11 12:28 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Silenio Quarti CLA 2004-04-30 17:53:28 EDT
The snippet below opens a shell that goes across multiple monitors when there 
are multiple monitors installed.


Shell shell = new Shell(display);
shell.open()
Comment 1 Grant Gayed CLA 2004-05-03 13:28:11 EDT
all platforms?
Comment 2 Silenio Quarti CLA 2004-05-03 16:26:15 EDT
Chris, could you look at this.
Comment 3 Christophe Cornu CLA 2004-05-03 16:44:21 EDT
Steve, you want Shell.setInitialSize to use 5/8 of the primary monitor instead 
of the display bounds, right?
Comment 4 Steve Northover CLA 2004-05-03 17:55:09 EDT
Yes but not sure I whether to in-line the code or not.  There are more 
issues.  For example, if the parent is another shell, it should be the same 
monitor that the parent is on.
Comment 5 Christophe Cornu CLA 2004-06-11 12:28:33 EDT
fixed v>20040610 -