summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/com/vaadin/ui/AbsoluteLayout.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/vaadin/ui/AbsoluteLayout.java b/src/com/vaadin/ui/AbsoluteLayout.java
index 2b15c8e7ce..0e7374ad34 100644
--- a/src/com/vaadin/ui/AbsoluteLayout.java
+++ b/src/com/vaadin/ui/AbsoluteLayout.java
@@ -171,7 +171,7 @@ public class AbsoluteLayout extends AbstractLayout {
continue;
}
if (key.equals("z-index")) {
- zIndex = Integer.parseInt(keyValuePair[1]);
+ zIndex = Integer.parseInt(keyValuePair[1].trim());
} else {
String value;
if (keyValuePair.length > 1) {