Compare commits

..

No commits in common. "06fb624a380556a9f25436848dfe972c527d8ab1" and "6ebdf4051c4869f8340ce476c871ea2bd4523888" have entirely different histories.

6 changed files with 9 additions and 9 deletions

View File

@ -133,7 +133,7 @@ class DetailsConfig(private val preferences: Preferences) {
private const val PRONUNCIATION_FONT_SIZE_KEY = "detailsPronunciationFontSize" private const val PRONUNCIATION_FONT_SIZE_KEY = "detailsPronunciationFontSize"
private val DEFAULT_PRONUNCIATION = Pronunciation.PINYIN_WITH_TONE_MARKS private val DEFAULT_PRONUNCIATION = Pronunciation.PINYIN_WITH_TONE_MARKS
private const val DEFAULT_HEADWORD_FONT_SIZE = 50 private const val DEFAULT_HEADWORD_FONT_SIZE = 40
private const val DEFAULT_PRONUNCIATION_FONT_SIZE = 16 private const val DEFAULT_PRONUNCIATION_FONT_SIZE = 16
} }

View File

@ -1,6 +1,6 @@
html { html {
font-family: "Noto Sans TC"; font-family: "Noto Sans TC";
font-size: 14px; font-size: 16px;
line-height: 1.7em; line-height: 1.7em;
border: 1px solid #B5B5B5; border: 1px solid #B5B5B5;

View File

@ -5,7 +5,3 @@
.pronunciation { .pronunciation {
-fx-font-family: "Noto Sans TC"; -fx-font-family: "Noto Sans TC";
} }
.list-view .headword {
-fx-font-family: "Noto Sans TC";
}

View File

@ -4,7 +4,7 @@
.headword { .headword {
-fx-font-family: "Noto Sans TC"; -fx-font-family: "Noto Sans TC";
/*-fx-font-weight: bold;*/ -fx-font-weight: bold;
/*-fx-text-fill: inherit;*/ /*-fx-text-fill: inherit;*/
} }

View File

@ -12,7 +12,11 @@
<padding> <padding>
<Insets bottom="6.0" left="6.0" right="6.0" top="6.0"/> <Insets bottom="6.0" left="6.0" right="6.0" top="6.0"/>
</padding> </padding>
<Label fx:id="labelHeadword" styleClass="headword" text="Label"/> <Label fx:id="labelHeadword" styleClass="headword" text="Label">
<padding>
<Insets left="8" right="8" top="8" bottom="8"/>
</padding>
</Label>
<Label fx:id="labelPronunciation" styleClass="pronunciation"> <Label fx:id="labelPronunciation" styleClass="pronunciation">
</Label> </Label>
</FlowPane> </FlowPane>

View File

@ -8,7 +8,7 @@
<StackPane xmlns="http://javafx.com/javafx/23" xmlns:fx="http://javafx.com/fxml/1" <StackPane xmlns="http://javafx.com/javafx/23" xmlns:fx="http://javafx.com/fxml/1"
fx:controller="com.marvinelsen.willow.ui.controllers.SearchResultsController" fx:controller="com.marvinelsen.willow.ui.controllers.SearchResultsController"
stylesheets="/css/search-results.css"> stylesheets="/css/search-results.css">
<ListView fx:id="listViewSearchResults" disable="true" minWidth="150.0"/> <ListView fx:id="listViewSearchResults" disable="true"/>
<Label fx:id="labelNoEntriesFound" text="%list.no_entries_found" textAlignment="CENTER" <Label fx:id="labelNoEntriesFound" text="%list.no_entries_found" textAlignment="CENTER"
visible="false" wrapText="true"> visible="false" wrapText="true">
<padding> <padding>