From 822877c6d6d019f725e7696855cf1996b2138ab0 Mon Sep 17 00:00:00 2001 From: Walker Thompson Date: Fri, 17 Apr 2026 11:09:37 +0000 Subject: Add DPI scaling for TOTP text field under GTK+ --- totpgen.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'totpgen.h') diff --git a/totpgen.h b/totpgen.h index f1a368d..8feee9a 100644 --- a/totpgen.h +++ b/totpgen.h @@ -16,6 +16,7 @@ #include #include #include +#include static const std::string base32 = "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"; @@ -50,6 +51,7 @@ class TOTPGen : public wxFrame { wxBoxSizer *TextSizer; wxStaticText *TOTPField; + void ResizeTextToFit(wxStaticText *text_field); wxString SecretFile; -- cgit v1.3