Compare commits
6 Commits
6ebdf4051c
...
06fb624a38
Author | SHA1 | Date | |
---|---|---|---|
06fb624a38 | |||
48359c0601 | |||
07cf27863b | |||
b939f23b9f | |||
9baa66bde9 | |||
15b2138f77 |
@ -133,7 +133,7 @@ class DetailsConfig(private val preferences: Preferences) {
|
||||
private const val PRONUNCIATION_FONT_SIZE_KEY = "detailsPronunciationFontSize"
|
||||
|
||||
private val DEFAULT_PRONUNCIATION = Pronunciation.PINYIN_WITH_TONE_MARKS
|
||||
private const val DEFAULT_HEADWORD_FONT_SIZE = 40
|
||||
private const val DEFAULT_HEADWORD_FONT_SIZE = 50
|
||||
private const val DEFAULT_PRONUNCIATION_FONT_SIZE = 16
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
html {
|
||||
font-family: "Noto Sans TC";
|
||||
font-size: 16px;
|
||||
font-size: 14px;
|
||||
line-height: 1.7em;
|
||||
|
||||
border: 1px solid #B5B5B5;
|
||||
|
@ -5,3 +5,7 @@
|
||||
.pronunciation {
|
||||
-fx-font-family: "Noto Sans TC";
|
||||
}
|
||||
|
||||
.list-view .headword {
|
||||
-fx-font-family: "Noto Sans TC";
|
||||
}
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
.headword {
|
||||
-fx-font-family: "Noto Sans TC";
|
||||
-fx-font-weight: bold;
|
||||
/*-fx-font-weight: bold;*/
|
||||
/*-fx-text-fill: inherit;*/
|
||||
}
|
||||
|
||||
|
@ -12,11 +12,7 @@
|
||||
<padding>
|
||||
<Insets bottom="6.0" left="6.0" right="6.0" top="6.0"/>
|
||||
</padding>
|
||||
<Label fx:id="labelHeadword" styleClass="headword" text="Label">
|
||||
<padding>
|
||||
<Insets left="8" right="8" top="8" bottom="8"/>
|
||||
</padding>
|
||||
</Label>
|
||||
<Label fx:id="labelHeadword" styleClass="headword" text="Label"/>
|
||||
<Label fx:id="labelPronunciation" styleClass="pronunciation">
|
||||
</Label>
|
||||
</FlowPane>
|
||||
|
@ -8,7 +8,7 @@
|
||||
<StackPane xmlns="http://javafx.com/javafx/23" xmlns:fx="http://javafx.com/fxml/1"
|
||||
fx:controller="com.marvinelsen.willow.ui.controllers.SearchResultsController"
|
||||
stylesheets="/css/search-results.css">
|
||||
<ListView fx:id="listViewSearchResults" disable="true"/>
|
||||
<ListView fx:id="listViewSearchResults" disable="true" minWidth="150.0"/>
|
||||
<Label fx:id="labelNoEntriesFound" text="%list.no_entries_found" textAlignment="CENTER"
|
||||
visible="false" wrapText="true">
|
||||
<padding>
|
||||
|
Loading…
Reference in New Issue
Block a user