HeaderButtonOverlay that tweaks the scaling of header button glyphs.
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final double[][] | SCALE_FACTORS
These are additional scale factors for the header button glyphs at various DPI scales to account for differences in the way the glyphs are rendered by JavaFX and Windows. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private double | |
| private static ObservableValue | |
| private void | |
| private void |
| HEADER_BUTTONS_STYLESHEET | back to summary |
|---|---|
| private static final String HEADER_BUTTONS_STYLESHEET | |
| SCALE_FACTORS | back to summary |
|---|---|
| private static final double[][] SCALE_FACTORS These are additional scale factors for the header button glyphs at various DPI scales to account for differences in the way the glyphs are rendered by JavaFX and Windows. Slightly adjusting the scaling makes the JavaFX glyphs look more similar to the native glyphs drawn by Windows. The values must be listed in 25% increments. DPI scales outside of the listed range default to an additional scaling factor of 1. | |
| WinHeaderButtonOverlay | back to summary |
|---|---|
| public WinHeaderButtonOverlay(boolean modalOrOwned, boolean utility, boolean rightToLeft) | |
| getGlyphScaleFactor | back to summary |
|---|---|
| private double getGlyphScaleFactor(double scale) | |
| getStylesheet | back to summary |
|---|---|
| private static ObservableValue | |
| updateGlyphScaleX | back to summary |
|---|---|
| private void updateGlyphScaleX(double scale) | |
| updateGlyphScaleY | back to summary |
|---|---|
| private void updateGlyphScaleY(double scale) | |