BF2052249 Default window size for tabs with included tab
This commit is contained in:
parent
74bf943568
commit
e4fe12b878
|
@ -452,9 +452,6 @@ public class GridController extends CPanel
|
|||
public boolean includeTab (GridController gc , APanel aPanel, GridSynchronizer sync)
|
||||
{
|
||||
GridController detail = gc;
|
||||
int screenWidth = (int) Toolkit.getDefaultToolkit().getScreenSize().getWidth() - 630;
|
||||
// Set screen dimension
|
||||
//detail.setPreferredSize(new Dimension(screenWidth, 250));
|
||||
detail.setDetailGrid(true);
|
||||
detail.addMouseListener(detail);
|
||||
detail.enableEvents(AWTEvent.HIERARCHY_EVENT_MASK + AWTEvent.MOUSE_EVENT_MASK);
|
||||
|
@ -463,9 +460,9 @@ public class GridController extends CPanel
|
|||
//BEGIN - [FR 1953734]
|
||||
gc.setGCParent(this);
|
||||
//END - [FR 1953734]
|
||||
gc.getGCParent().setPreferredSize(vPanel.getPreferredSize());
|
||||
synchronizerList.add(sync);
|
||||
return true;
|
||||
|
||||
} // IncludeTab
|
||||
|
||||
//FR [ 1757088 ]
|
||||
|
|
Loading…
Reference in New Issue