summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Geiger2018-02-21 09:11:33 -0500
committerStefan Geiger2018-02-21 09:11:33 -0500
commite3c3fff8da52ccd1e70e53edec64d0da7e5db198 (patch)
tree0f5d7ca789c81665a8254236598b37bb8ae656b6
parent378eb0c87f61f8ff3226ab819cfe24bf1d54c05d (diff)
downloadorg.eclipse.riena-e3c3fff8da52ccd1e70e53edec64d0da7e5db198.zip
org.eclipse.riena-e3c3fff8da52ccd1e70e53edec64d0da7e5db198.tar.gz
org.eclipse.riena-e3c3fff8da52ccd1e70e53edec64d0da7e5db198.tar.xz
add scaling for LnfKeyConstants.DIALOG_STATUSLINE_HEIGHT in
AbstractDialogView
-rw-r--r--org.eclipse.riena.ui.ridgets.swt/src/org/eclipse/riena/ui/ridgets/swt/views/AbstractDialogView.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.riena.ui.ridgets.swt/src/org/eclipse/riena/ui/ridgets/swt/views/AbstractDialogView.java b/org.eclipse.riena.ui.ridgets.swt/src/org/eclipse/riena/ui/ridgets/swt/views/AbstractDialogView.java
index 476a959..d35a5b3 100644
--- a/org.eclipse.riena.ui.ridgets.swt/src/org/eclipse/riena/ui/ridgets/swt/views/AbstractDialogView.java
+++ b/org.eclipse.riena.ui.ridgets.swt/src/org/eclipse/riena/ui/ridgets/swt/views/AbstractDialogView.java
@@ -43,6 +43,7 @@ import org.eclipse.riena.ui.swt.lnf.LnfKeyConstants;
import org.eclipse.riena.ui.swt.lnf.LnfManager;
import org.eclipse.riena.ui.swt.utils.SWTControlFinder;
import org.eclipse.riena.ui.swt.utils.ShellHelper;
+import org.eclipse.riena.ui.swt.utils.SwtUtilities;
import org.eclipse.riena.ui.swt.utils.UIControlsFactory;
/**
@@ -297,7 +298,7 @@ public abstract class AbstractDialogView extends Dialog {
private Integer getStatuslineHeight() {
if (statusLine) {
- return LnfManager.getLnf().getIntegerSetting(LnfKeyConstants.DIALOG_STATUSLINE_HEIGHT);
+ return SwtUtilities.convertYToDpi(LnfManager.getLnf().getIntegerSetting(LnfKeyConstants.DIALOG_STATUSLINE_HEIGHT));
} else {
return 0;
}