Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuSanka <yusanka@gmail.com>2020-02-10 14:46:07 +0300
committerYuSanka <yusanka@gmail.com>2020-02-10 14:52:32 +0300
commita5de3386acad158e66f48514a2b941152b1eb11a (patch)
tree4ffaa2c54d2853a52395b9d7eecf85e71c5d9092 /src/slic3r/GUI/Tab.cpp
parentd81f7d84652c07806bc76d75dcfa4dbbc8904d05 (diff)
Changed size of hexagons.
+ ModeButton: Added another constructor
Diffstat (limited to 'src/slic3r/GUI/Tab.cpp')
-rw-r--r--src/slic3r/GUI/Tab.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/slic3r/GUI/Tab.cpp b/src/slic3r/GUI/Tab.cpp
index 5f17955d4..83dc21cec 100644
--- a/src/slic3r/GUI/Tab.cpp
+++ b/src/slic3r/GUI/Tab.cpp
@@ -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();