mirror of
https://gitlab.cvh-server.de/skrause/flashcards.git
synced 2025-12-12 11:01:38 +01:00
add tooltips
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user