diff --git a/CHANGELOG.md b/CHANGELOG.md index 0dde66bee..9440909c7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ All notable changes to this project will be documented in this file. This project uses the changelog in accordance with [keepchangelog](http://keepachangelog.com/). Please use this to write notable changes, which is not the same as git commit log... ## [unreleased][unreleased] +- Fixed `tools/ePassport` - the PERSONAL tab's personal-number caption wrapped, dropping the source onto a line of its own (@pkilar) - Added `tools/ePassport` - EF_DG13 is decoded, and a Polish document's PESEL is shown as the personal number when it carries no EF_DG11 (@pkilar) - Fixed `tools/ePassport` - a disabled button drew Kivy's banded disabled texture, which left its label unreadable (@pkilar) - Fixed `hf 14b` - a card asking for a waiting time extension of 4 or more left the timeout at zero, so any ISO14443-B card needing time to answer looked like it had stopped responding (@pkilar) diff --git a/tools/ePassport/epassport/ui/tabs/pages.py b/tools/ePassport/epassport/ui/tabs/pages.py index a11f90f7c..2440840f4 100644 --- a/tools/ePassport/epassport/ui/tabs/pages.py +++ b/tools/ePassport/epassport/ui/tabs/pages.py @@ -51,10 +51,15 @@ class DetailPage(TabPage): def _personal_number_label(record) -> str: - """Name the source when it is not DG11, so the row is not misread.""" + """Name the source when it is not DG11, so the row is not misread. + + Without the "from" it fits the caption column: dp(190) holds 167px of + "Personal number (DG13)" but not the 203px the longer wording needs, and + a caption that wraps drops the source onto a line of its own. + """ source = record.personal_number_source if source in ("MRZ", "DG13"): - return f"Personal number (from {source})" + return f"Personal number ({source})" return "Personal number"