From 85e998b9a48439342f626e6012cbbafe15445056 Mon Sep 17 00:00:00 2001 From: Sergiotarxz Date: Fri, 13 Dec 2024 02:47:51 +0100 Subject: [PATCH] v1.05 Avoiding unneeded resizes --- lib/JapaChar/View/HiraganaKatakanaTestExercise.pm | 6 +++--- me.sergiotarxz.JapaChar.metainfo.xml | 5 +++++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/lib/JapaChar/View/HiraganaKatakanaTestExercise.pm b/lib/JapaChar/View/HiraganaKatakanaTestExercise.pm index f5e477d..f3ff103 100644 --- a/lib/JapaChar/View/HiraganaKatakanaTestExercise.pm +++ b/lib/JapaChar/View/HiraganaKatakanaTestExercise.pm @@ -113,7 +113,7 @@ sub _new_challenge_generic_code( $self, $show, $guess, $can_be_typed = 0 ) { my $box_kana = Gtk::Box->new( 'vertical', 10 ); $box_kana->append( $self->_new_exercise_number_label ); $box_kana->append($kana_label); - $grid->attach( $box_kana, 0, 0, 12, 1 ); + $grid->attach( $box_kana, 0, 0, 12, 4 ); $self->_app->window_set_child($grid); my $back_button = $self->lesson->create_exit_lesson_back_button( sub { @@ -229,7 +229,7 @@ sub _new_typing_romanji_challenge( $self, $char ) { my $box_kana = Gtk::Box->new( 'vertical', 10 ); $box_kana->append( $self->_new_exercise_number_label ); $box_kana->append($kana_label); - $grid->attach( $box_kana, 0, 0, 12, 1 ); + $grid->attach( $box_kana, 0, 0, 12, 4 ); $self->_app->window_set_child($grid); my $back_button = $self->lesson->create_exit_lesson_back_button( sub { @@ -281,7 +281,7 @@ sub _new_typing_romanji_challenge( $self, $char ) { $romanji_entry->set_valign('center'); $romanji_entry->set_halign('center'); - $grid->attach( $romanji_entry, 2, 1, 8, 1 ); + $grid->attach( $romanji_entry, 2, 2, 8, 1 ); $grid->attach( $continue_button, 6, 3, 5, 1 ); } diff --git a/me.sergiotarxz.JapaChar.metainfo.xml b/me.sergiotarxz.JapaChar.metainfo.xml index 503a43a..754e0b4 100644 --- a/me.sergiotarxz.JapaChar.metainfo.xml +++ b/me.sergiotarxz.JapaChar.metainfo.xml @@ -32,6 +32,11 @@ sergiotarxz + + +

Avoiding window resize on hiragana and katakana exercises.

+
+

Fixing bug unable to select specific level and decreasing number of simultaneus kanji to learn.