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