mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 09:17:52 -06:00
ENH:show several items in GcodeViewer
1.show developer mode items and adjust layout 2.fix checkBox cannot response Change-Id: I9856fa0a781cfaa574cb6dfc4530fe52fa733154
This commit is contained in:
parent
38fb9dcec5
commit
5afc02ee72
4 changed files with 96 additions and 77 deletions
|
@ -49,7 +49,7 @@ constexpr double miscalculation = scale_(scale_(1)); // equal to 1 mm2
|
|||
static const float LEFT_MARGIN = 13.0f + 100.0f; // avoid thumbnail toolbar
|
||||
static const float SLIDER_LENGTH = 680.0f;
|
||||
static const float TEXT_WIDTH_DUMMY = 63.0f;
|
||||
static const float ONE_LAYER_MARGIN = 20.0f;
|
||||
static const float ONE_LAYER_MARGIN = 10.0f;
|
||||
static const ImVec2 ONE_LAYER_OFFSET = ImVec2(41.0f, 44.0f);
|
||||
static const ImVec2 HORIZONTAL_SLIDER_SIZE = ImVec2(764.0f, 90.0f);//764 = 680 + handle_dummy_width * 2 + text_right_dummy
|
||||
static const ImVec2 VERTICAL_SLIDER_SIZE = ImVec2(105.0f, 748.0f);//748 = 680 + text_dummy_height * 2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue