From 58d01b9f65064e4704a8a4712b46f51fe71ce935 Mon Sep 17 00:00:00 2001 From: Anas Elgarhy Date: Sun, 21 Aug 2022 17:18:35 +0200 Subject: [PATCH] =?UTF-8?q?Improve=20details=20dialog=20design=20yoo=20?= =?UTF-8?q?=F0=9F=A5=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ayah/dialogs/AyahDetailsDialog.form | 91 ++++++++++--------- .../ayah/dialogs/AyahDetailsDialog.java | 2 +- 2 files changed, 49 insertions(+), 44 deletions(-) diff --git a/src/main/java/com/anas/intellij/plugins/ayah/dialogs/AyahDetailsDialog.form b/src/main/java/com/anas/intellij/plugins/ayah/dialogs/AyahDetailsDialog.form index 44c94fb..9e459a8 100644 --- a/src/main/java/com/anas/intellij/plugins/ayah/dialogs/AyahDetailsDialog.form +++ b/src/main/java/com/anas/intellij/plugins/ayah/dialogs/AyahDetailsDialog.form @@ -1,6 +1,6 @@
- + @@ -10,45 +10,74 @@ - + - + - - - - - - + - + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - @@ -83,30 +112,6 @@ - - - - - - - - - - - - - - - - - - - - - - - -
diff --git a/src/main/java/com/anas/intellij/plugins/ayah/dialogs/AyahDetailsDialog.java b/src/main/java/com/anas/intellij/plugins/ayah/dialogs/AyahDetailsDialog.java index 88491c8..ea207e9 100644 --- a/src/main/java/com/anas/intellij/plugins/ayah/dialogs/AyahDetailsDialog.java +++ b/src/main/java/com/anas/intellij/plugins/ayah/dialogs/AyahDetailsDialog.java @@ -28,7 +28,7 @@ public class AyahDetailsDialog extends JDialog { ayahTextArea.setText(ayah.getText()); surahNameLabel.setText(ayah.getSurah().getName()); - numberOfAyahInSuarhLabel.setText("Number: " + ayah.getNumberInSurah()); + numberOfAyahInSuarhLabel.setText("آية رقم: " + ayah.getNumberInSurah()); ayahRevelationType.setText(ayah.getSurah().getRevelationType().getArabicName()); addListeners(ayah);