Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Motsch2017-02-01 14:30:34 +0000
committerIvan Motsch2017-02-01 14:45:07 +0000
commitc54de6e64d5911449ca6b632b03ab77646f1882f (patch)
tree2381c916a429b027c6a2f903b4577e6d3f8acfe3
parent413e8291e0a5e79f5aa5cd3af3be39edc429c668 (diff)
downloadorg.eclipse.scout.rt-releases/3.10.x.tar.gz
org.eclipse.scout.rt-releases/3.10.x.tar.xz
org.eclipse.scout.rt-releases/3.10.x.zip
Fix additional issue that occurs in very rare cases.Luna_3.10_SR1_R17releases/3.10.x
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
-rw-r--r--org.eclipse.scout.rt.ui.swing/src/org/eclipse/scout/rt/ui/swing/LogicalGridLayoutInfo.java9
1 files changed, 4 insertions, 5 deletions
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 ce157afe9c..bc6170b823 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 @@ public class LogicalGridLayoutInfo {
/**
* 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 @@ public class LogicalGridLayoutInfo {
/**
* 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 @@ public class LogicalGridLayoutInfo {
/**
* 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 @@ public class LogicalGridLayoutInfo {
/*
* 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 @@ public class LogicalGridLayoutInfo {
/**
* Calculates the components's sizes in respect to the given size of the container.
- *
+ *
* @param targetSize
* the size specified by the container.
* @param sizes

Back to the top