1
0
mirror of https://gitlab.cvh-server.de/skrause/flashcards.git synced 2025-12-12 09:01:37 +01:00

add tooltips

This commit is contained in:
2025-07-03 14:49:51 +02:00
parent a4ab9486a1
commit 5529da02db
3 changed files with 46 additions and 10 deletions

View File

@@ -113,6 +113,7 @@ template $FlashcardsAppWindow : Adw.ApplicationWindow {
styles ["card", "activatable"]
halign: center;
clicked => $on_flip_card();
tooltip-text: _("Show answer");
Label card_title {
styles ["title-4"]
margin-top: 24;
@@ -136,18 +137,21 @@ template $FlashcardsAppWindow : Adw.ApplicationWindow {
label: _("Hard");
hexpand: true;
clicked => $on_answer_hard();
tooltip-text: _("Reappears in 6 hours");
}
Button {
styles ["pill"]
label: _("Medium");
hexpand: true;
clicked => $on_answer_medium();
tooltip-text: _("Reappears in 12 hours");
}
Button {
styles ["pill"]
label: _("Easy");
hexpand: true;
clicked => $on_answer_easy();
tooltip-text: _("Reappears in 24 hours");
}
}
}