fix button glow
This commit is contained in:
parent
44125ce13a
commit
8e836b1183
4
src/main/resources/com/shr4pnel/minesweeper/fix-glow.css
Normal file
4
src/main/resources/com/shr4pnel/minesweeper/fix-glow.css
Normal file
@ -0,0 +1,4 @@
|
||||
* {
|
||||
-fx-focus-color: transparent;
|
||||
-fx-faint-focus-color: transparent;
|
||||
}
|
@ -6,7 +6,7 @@
|
||||
<?import javafx.scene.layout.*?>
|
||||
<?import javafx.scene.shape.*?>
|
||||
|
||||
<VBox maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="350.0" prefWidth="500.0" style="-fx-border-color: black; -fx-border-width: 1px;" xmlns="http://javafx.com/javafx/11.0.14-internal" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.shr4pnel.minesweeper.Controller">
|
||||
<VBox maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="350.0" prefWidth="500.0" style="-fx-border-color: black; -fx-border-width: 1px;" stylesheets="@fix-glow.css" xmlns="http://javafx.com/javafx/17.0.2-ea" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.shr4pnel.minesweeper.Controller">
|
||||
<children>
|
||||
<MenuBar style="-fx-background-color: white;">
|
||||
<menus>
|
||||
|
Loading…
x
Reference in New Issue
Block a user