mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
Changed size of hexagons.
+ ModeButton: Added another constructor
This commit is contained in:
@@ -257,9 +257,10 @@ void Tab::create_preset_tab()
|
||||
|
||||
// Fill cache for mode bitmaps
|
||||
m_mode_bitmap_cache.reserve(3);
|
||||
m_mode_bitmap_cache.push_back(ScalableBitmap(this, "mode_simple"));
|
||||
m_mode_bitmap_cache.push_back(ScalableBitmap(this, "mode_advanced"));
|
||||
m_mode_bitmap_cache.push_back(ScalableBitmap(this, "mode_expert"));
|
||||
int icon_px = 14;
|
||||
m_mode_bitmap_cache.push_back(ScalableBitmap(this, "mode_simple" , icon_px));
|
||||
m_mode_bitmap_cache.push_back(ScalableBitmap(this, "mode_advanced", icon_px));
|
||||
m_mode_bitmap_cache.push_back(ScalableBitmap(this, "mode_expert" , icon_px));
|
||||
|
||||
// Initialize the DynamicPrintConfig by default keys/values.
|
||||
build();
|
||||
|
||||
Reference in New Issue
Block a user