mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-08-01 23:32:10 +00:00
Class for RadioGroup & LabeledStaticBox and improvements for Calibration Dialogs, Windows with wxStaticBoxSizer (#9797)
* update * Update calib_dlg.cpp * Update LabeledStaticBox.hpp * Update calib_dlg.cpp * update * update * RadioGroup fix * update * update * update * update * RadioGroup * Fix render issue when position is set to default (-1) * Fix macOS render issue by removing default NSBox border * Fix compile --------- Co-authored-by: Noisyfox <timemanager.rick@gmail.com>
This commit is contained in:
@@ -14,6 +14,12 @@ void dataview_remove_insets(wxDataViewCtrl* dv) {
|
||||
}
|
||||
}
|
||||
|
||||
void staticbox_remove_margin(wxStaticBox* sb) {
|
||||
NSBox* nativeBox = (NSBox*)sb->GetHandle();
|
||||
[nativeBox setBoxType:NSBoxCustom];
|
||||
[nativeBox setBorderWidth:0];
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user