سؤال

When a mnemonic character "_" is added to the menu text, we have to press the Alt key to make the mnemonic underline appear. How to let the menu mnemonic underline appear always before we press Alt?

هل كانت مفيدة؟

المحلول

To make the mnemonic underlines visible all the time, just add the following to your css file:

.mnemonic-underline {
    -fx-stroke: -fx-text-base-color;
}
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top