プロジェクト

全般

プロフィール

« | » 

リビジョン 23299861

高徹 高橋 徹 さんが11年以上前に追加

CSSから.hboxを削除、画面全体の背景色はBorderPaneのプロパティStyeclassに。 refs #15

差分を表示:

src/com/torutk/jarmanifest/JarManifestView.fxml
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" stylesheets="@darktheme.css" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.torutk.jarmanifest.JarManifestViewController">
<BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" styleClass="background" stylesheets="@darktheme.css" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.torutk.jarmanifest.JarManifestViewController">
<center>
<TableView fx:id="table" prefHeight="200.0" prefWidth="200.0" BorderPane.alignment="CENTER">
<columns>
src/com/torutk/jarmanifest/darktheme.css
.button:default:hover {
-fx-background-color: derive(-fx-focus-color, 30%);
}
.hbox {
-fx-background-color: #1d1d1d;
}

他の形式にエクスポート: Unified diff