FIX: fix bbl logo not in center of SplashScreen
Change-Id: I38e5ffebf2500ee4239e09c27e238de28da8463b
This commit is contained in:
parent
89f7065d87
commit
db94f39f78
|
@ -301,9 +301,10 @@ public:
|
|||
BitmapCache bmp_cache;
|
||||
int logo_margin = FromDIP(72 * m_scale);
|
||||
int logo_size = FromDIP(122 * m_scale);
|
||||
int logo_width = FromDIP(94 * m_scale);
|
||||
wxBitmap logo_bmp = *bmp_cache.load_svg("splash_logo", logo_size, logo_size);
|
||||
int logo_y = top_margin + title_rect.GetHeight() + logo_margin;
|
||||
memDc.DrawBitmap(logo_bmp, (width - logo_size) / 2, logo_y, true);
|
||||
memDc.DrawBitmap(logo_bmp, (width - logo_width) / 2, logo_y, true);
|
||||
|
||||
// calculate position for the dynamic text
|
||||
int text_margin = FromDIP(80 * m_scale);
|
||||
|
|
Loading…
Reference in New Issue