mirror of
https://github.com/vaadin/framework.git
synced 2024-09-13 15:46:01 +02:00
fixed bug causing random number format exception
svn changeset:6275/svn branch:trunk
This commit is contained in:
parent
a8916f0385
commit
90a16cc1c2
@ -368,7 +368,7 @@ public class Util {
|
||||
return paddingBorderGuess;
|
||||
} else if (height.endsWith("px")) {
|
||||
int pixelHeight = Integer.parseInt(height.substring(0, height
|
||||
.length() - 3));
|
||||
.length() - 2));
|
||||
return setHeightExcludingPaddingAndBorder(widget.getElement(),
|
||||
pixelHeight, paddingBorderGuess, false);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user