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!

¿why min-height and min-width do not working in application?

JAVIER ARTUROOct 9 2015 — edited Oct 16 2015

Hello all:

I need some help from you. This is the issue:


I'm building an application with some toggle buttons. My application is on fxml. I'm building my application with scene builder. Decor of my application is through javaFX CSS.


Ok, now what is the problem... The problem is that my toggle buttons it looks good (height and widht) inside scene builder but if I execute the application then the buttons do not charge the style.


This is my style

.group-buttons{

    -fx-min-height: 33px;

    -fx-min-width: 119px;

    -fx-pref-height: 33px;

    -fx-pref-width: 119px;

}


¿What can I do?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 13 2015
Added on Oct 9 2015
5 comments
1,304 views