From b0e863770782b701162075d01eceda60566b7eef Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 28 Nov 2021 21:41:06 +0100 Subject: [PATCH] Fix some truncated headings. --- src/wx/config_dialog.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wx/config_dialog.cc b/src/wx/config_dialog.cc index 1bd5036e7..53c67d101 100644 --- a/src/wx/config_dialog.cc +++ b/src/wx/config_dialog.cc @@ -690,7 +690,7 @@ KeysPage::setup () { auto m = new StaticText (_panel, _("Decrypting KDMs")); m->SetFont (subheading_font); - sizer->Add (m, 0, wxALL, _border); + sizer->Add (m, 0, wxALL | wxEXPAND, _border); } auto buttons = new wxBoxSizer (wxVERTICAL); @@ -714,7 +714,7 @@ KeysPage::setup () { auto m = new StaticText (_panel, _("Signing DCPs and KDMs")); m->SetFont (subheading_font); - sizer->Add (m, 0, wxALL, _border); + sizer->Add (m, 0, wxALL | wxEXPAND, _border); } auto signing_advanced = new Button (_panel, _("Advanced...")); -- 2.30.2