mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
Changed size of hexagons.
+ ModeButton: Added another constructor
This commit is contained in:
parent
d81f7d8465
commit
a5de3386ac
3 changed files with 31 additions and 7 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue