Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

MinHeight/MinWidth is ignored

943371Sep 5 2012 — edited Sep 5 2012
After setting the MinHeight value of a AnchorPane with SceneBuilder (writes correctly to fxml file) the window is still resizable into a size with a smaller height.
From Java this.rootPane.getMinHeight() does return the right value.

Example FXML:
<minHeight>
<Long fx:value="400" />
</minHeight>

Using JavaFX 2.2 (JDK7u7)
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 3 2012
Added on Sep 5 2012
3 comments
1,515 views