user833129
user833129

Reputation:

Are the Title-bar and Menu-bar included when getting a Form's preferredHeight?

When we write int h = myForm.getPreferredH(); does the h variable contains the height of the Title-bar and the height of the Menu-bar ? In the appropriate how to get the Title-bar's (preferred) height and the Menu-bar's (preferred) height ?

Upvotes: 1

Views: 137

Answers (1)

Shai Almog
Shai Almog

Reputation: 52770

This will include the preferred height of the entire form including everything. That value is useless though, there is no sense in extracting it and LWUIT completely ignores it.

Upvotes: 1

Related Questions