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!

Get rid of border in panes

opfauJun 14 2012 — edited Jun 14 2012
Hi,

I want to get rid of a border probably of a ScrollPane. I set to all (GridPane, ScrollPane, VBox) I tried this in the style class

.no-border {
-fx-stroke-width: 0;
-fx-border-width: 0 0 0 0;
-fx-border-style: none;
-fx-background-size: 0;
-fx-grid-lines-visible: false;*/
-fx-border-color: transparent;
-fx-hgap: 0;
-fx-vgap: 0;
}

without success. I am using JavaFX 2.2 dev. preview b11. Has anyone an idea?

Regards,
Oliver

Edited by: opfl on 14.06.2012 07:24
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 12 2012
Added on Jun 14 2012
1 comment
576 views