-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #150 from firm1/improvedOptions
fix textes tronqués dans les options et about
- Loading branch information
Showing
9 changed files
with
307 additions
and
571 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
src/main/java/com/zestedesavoir/zestwriter/view/com/CustomDialog.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,16 @@ | ||
package com.zestedesavoir.zestwriter.view.com; | ||
|
||
import javafx.scene.control.Dialog; | ||
import javafx.scene.control.Label; | ||
import javafx.scene.layout.Region; | ||
import javafx.stage.Modality; | ||
|
||
public class CustomDialog<T> extends Dialog<T> { | ||
|
||
public CustomDialog() { | ||
super(); | ||
FunctionTreeFactory.addTheming(this.getDialogPane()); | ||
initModality(Modality.APPLICATION_MODAL); | ||
getDialogPane().getChildren().stream().filter(node -> node instanceof Label).forEach(node -> ((Label)node).setMinHeight(Region.USE_PREF_SIZE)); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +0,0 @@ | ||
/* OptionsDialog style */ | ||
|
||
.hyperlink{ | ||
-fx-underline:false; | ||
} | ||
|
||
.hyperlink:hover{ | ||
-fx-underline:true; | ||
} | ||
|
||
.title { | ||
-fx-font-weight: bold; | ||
-fx-font-size: 15pt; | ||
-fx-text-fill: #ea9408; | ||
} | ||
|
||
.subtitle { | ||
-fx-font-style: italic; | ||
-fx-font-size: 11pt; | ||
-fx-text-fill: #ea9408; | ||
} | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.