How to get an element's height [message #1239148] |
Mon, 03 February 2014 13:43 |
Jan Krakora Messages: 477 Registered: December 2009 Location: Prague |
Senior Member |
|
|
Hi all,
I would like to know how can I get an element real height.
More specifically I have two tables beneath. I need to set height of the second one according to the height of the first one. So both are on the same page.
How can i get the first table computed height?
I've tried to add script to the first table onCreate to get its height:
importPackage(Packages.java.lang);
if (this.height == null) {
System.out.println("null");
} else {
System.out.println(this.height);
}
this.height returns null
[Updated on: Mon, 03 February 2014 14:03] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02903 seconds