mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-20 05:09:07 +08:00
ENH: refine max/min/close button position in BBLTopbar
Change-Id: Idb86daf195df856e24c32363e763e38d77f39744 Signed-off-by: Stone Li <stone.li@bambulab.com> (cherry picked from commit 986c3b162c7f5934c9f88ba281b6e47787b0f9fb)
This commit is contained in:
parent
71b421d407
commit
a51423d3e3
@ -284,8 +284,6 @@ void BBLTopbar::Init(wxFrame* parent)
|
|||||||
wxBitmap close_bitmap = create_scaled_bitmap("topbar_close", nullptr, TOPBAR_ICON_SIZE);
|
wxBitmap close_bitmap = create_scaled_bitmap("topbar_close", nullptr, TOPBAR_ICON_SIZE);
|
||||||
wxAuiToolBarItem* close_btn = this->AddTool(wxID_CLOSE_FRAME, "", close_bitmap);
|
wxAuiToolBarItem* close_btn = this->AddTool(wxID_CLOSE_FRAME, "", close_bitmap);
|
||||||
|
|
||||||
this->AddSpacer(FromDIP(6));
|
|
||||||
|
|
||||||
Realize();
|
Realize();
|
||||||
// m_toolbar_h = this->GetSize().GetHeight();
|
// m_toolbar_h = this->GetSize().GetHeight();
|
||||||
m_toolbar_h = FromDIP(30);
|
m_toolbar_h = FromDIP(30);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user