Skip to content

Instantly share code, notes, and snippets.

@oowekyala oowekyala/app.css
Created Jul 15, 2018

What would you like to do?
Removing scroll arrows on JavaFX context menu
// Works at least on JFX 8 and 9
.context-menu .scroll-arrow {
-fx-padding: 0 0 0 0;
.context-menu .menu-item {
// OK this is weird but it does solve a padding bug on the context menu.
// Without it, items are offset to the bottom, and the last one is partially hidden
-fx-border-style: solid;
-fx-border-color: transparent;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.