Changed size of hexagons.

+ ModeButton: Added another constructor
This commit is contained in:
YuSanka 2020-02-10 12:46:07 +01:00
parent d81f7d8465
commit a5de3386ac
3 changed files with 31 additions and 7 deletions

View file

@ -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();