diff options
| author | Walker Thompson <walker.thompson@urz.uni-heidelberg.de> | 2026-04-17 11:09:37 +0000 |
|---|---|---|
| committer | Walker Thompson <walker.thompson@urz.uni-heidelberg.de> | 2026-04-17 11:09:37 +0000 |
| commit | 822877c6d6d019f725e7696855cf1996b2138ab0 (patch) | |
| tree | 7b4949b53761234f818d7e6d3e958acf687512fa /totpgen.h | |
| parent | fdda56c95ae249c90b47c1a060d081db66a730da (diff) | |
Add DPI scaling for TOTP text field under GTK+
Diffstat (limited to 'totpgen.h')
| -rw-r--r-- | totpgen.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -16,6 +16,7 @@ #include <wx/dir.h> #include <wx/clipbrd.h> #include <wx/regex.h> +#include <wx/font.h> 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; |
