I am using JavaFx-2 and I am trying to modify my scrollbars in tableview. I want them to appear inside table without creating any extra space next to table. But they create a place by shrinking table (which means table's content gets smaller) and I can't make it disappear. Please help.
Here is my css,
.table-view .scroll-bar:horizontal {
-fx-opacity: 0.75;
-fx-background-color: #353535;
-fx-border-color: #333333;
-fx-pref-height: 25px;
-fx-translate-y: 25px;
}
.table-view .scroll-bar:vertical {
-fx-opacity: 0.75;
-fx-background-color: #353535;
-fx-border-color: #333333;
-fx-pref-width: 25px;
-fx-translate-x: 25px;
}
.table-view .scroll-bar:horizontal .thumb,
.table-view .scroll-bar:vertical .thumb{
-fx-background-color: white ;
-fx-border-color: #333333;
}
I add images to comments, I can't post image here and I can't give link more than 2 because of the reputation.