Fix additional issue that occurs in very rare cases.
Can only be reporduced with manual testing
Change-Id: I3d6efb332466359127d37b4432700681ab3136a7
Signed-off-by: Ivan Motsch <ivan.motsch@bsiag.com>
Reviewed-on: https://git.eclipse.org/r/90076
Tested-by: Hudson CI
diff --git a/org.eclipse.scout.rt.ui.swing/src/org/eclipse/scout/rt/ui/swing/LogicalGridLayoutInfo.java b/org.eclipse.scout.rt.ui.swing/src/org/eclipse/scout/rt/ui/swing/LogicalGridLayoutInfo.java
index ce157af..bc6170b 100644
--- a/org.eclipse.scout.rt.ui.swing/src/org/eclipse/scout/rt/ui/swing/LogicalGridLayoutInfo.java
+++ b/org.eclipse.scout.rt.ui.swing/src/org/eclipse/scout/rt/ui/swing/LogicalGridLayoutInfo.java
@@ -181,7 +181,7 @@
/**
* Calculates the logical widths and weights of the grid columns.
- *
+ *
* @param compSize
* the logical dimensions of the components in the grid.
*/
@@ -298,7 +298,7 @@
/**
* Calculates the logical heights and weights of the grid rows.
- *
+ *
* @param compSize
* the logical dimensions of the components in the grid.
*/
@@ -408,7 +408,7 @@
/**
* Computes the grid with its cells aligned to the parent's dimension. Thereby, gaps are not included in the grid cell
* bounds. Also, the minimal, maximal and preferred extent of the grid is calculated.
- *
+ *
* @param parentSize
* the actual size of the parent container.
* @param insets
@@ -456,7 +456,6 @@
/*
* 3. Compute the minimal, maximal and preferred extent of the grid.
*/
- m_useLogicalPrefSize = true;
if (initialization || m_useLogicalPrefSize) {
// Use logical sizes if the root container is not showing on screen to determine the container's initial size.
int[] logicalColWidths = extractSizes(width, LogicalGridLayout.PREF_SIZE);
@@ -542,7 +541,7 @@
/**
* Calculates the components's sizes in respect to the given size of the container.
- *
+ *
* @param targetSize
* the size specified by the container.
* @param sizes