css - On MacOS perfect => On Windows a grey bottom border -


i hope can ... have written little application in javafx.

this module has

vbox ->  -toolbar -splitpane -> --anchorpane --anchorpane 

vbox set 600px height. splitpane , both anchorpanes also.

in macos x looks great - in windows there big, grey border @ bottom.

i don't know information can give solve problem ... please ask me if need know.

i have tested splitpane , vbox red background. => fail, border still grey.

thanks! , please forgive english writing ... i'm not native :)

mac :

enter image description here

windows :

enter image description here

your splitpane not able cover whole height of vbox. force splitpane change height when vbox changes its, use :

vbox.setvgrow(splitpane, priority.always); 

in fxml can achieve same effect adding :

<splitpane vbox.vgrow="always"> 

Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -