Fix some truncated headings.
[dcpomatic.git] / src / wx / config_dialog.cc
index c018a1251ce8c9edb1af4c21b8a199a9f0d57da7..53c67d101d8e611dca2c101fbafe576d7c696686 100644 (file)
@@ -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..."));
@@ -1081,7 +1081,7 @@ LocationsPage::GetName () const
 wxBitmap
 LocationsPage::GetLargeIcon () const
 {
-       return wxBitmap ("locations", wxBITMAP_TYPE_PNG_RESOURCE);
+       return wxBitmap(bitmap_path("locations"), wxBITMAP_TYPE_PNG);
 }
 #endif