mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2025-09-10 10:47:51 -04:00
Logo aspect fit
This commit is contained in:
parent
979e5b709c
commit
559f8982ac
@ -80,6 +80,7 @@ AppFrame::AppFrame() :
|
|||||||
headerPath += filePathSeparator + std::string("" CUBICSDR_HEADER_IMAGE);
|
headerPath += filePathSeparator + std::string("" CUBICSDR_HEADER_IMAGE);
|
||||||
wxInitAllImageHandlers();
|
wxInitAllImageHandlers();
|
||||||
wxStaticBitmap *headerImgStatic = new wxStaticBitmap(demodPanel, wxID_ANY, wxBitmap( headerPath, wxBITMAP_TYPE_ANY ));
|
wxStaticBitmap *headerImgStatic = new wxStaticBitmap(demodPanel, wxID_ANY, wxBitmap( headerPath, wxBITMAP_TYPE_ANY ));
|
||||||
|
headerImgStatic->SetScaleMode(wxStaticBitmapBase::ScaleMode::Scale_AspectFit);
|
||||||
std::string headerBgColor = "" CUBICSDR_HEADER_BG;
|
std::string headerBgColor = "" CUBICSDR_HEADER_BG;
|
||||||
if (headerBgColor != "") {
|
if (headerBgColor != "") {
|
||||||
demodPanel->SetBackgroundColour(wxColour(headerBgColor));
|
demodPanel->SetBackgroundColour(wxColour(headerBgColor));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user