+
+ if (!sm_enablePositionAndSizeCheckboxes)
+ {
+ m_widthSizer->Show(m_widthCheckbox, false);
+ m_widthSizer->Show(m_widthLabel, true);
+ m_heightSizer->Show(m_heightCheckbox, false);
+ m_heightSizer->Show(m_heightLabel, true);
+
+ m_leftSizer->Show(m_positionLeftCheckbox, false);
+ m_leftSizer->Show(m_leftLabel, true);
+ m_topSizer->Show(m_positionTopCheckbox, false);
+ m_topSizer->Show(m_topLabel, true);
+
+ if (sm_showRightBottomPositionControls)
+ {
+ m_rightSizer->Show(m_positionRightCheckbox, false);
+ m_rightSizer->Show(m_rightLabel, true);
+ m_bottomSizer->Show(m_positionBottomCheckbox, false);
+ m_bottomSizer->Show(m_bottomLabel, true);
+ }
+ }
+
+ if (!sm_showFloatingAndAlignmentControls)
+ m_parentSizer->Show(m_floatingAlignmentSizer, false);
+
+ if (!sm_showFloatingControls)
+ m_floatingAlignmentSizer->Show(m_floatingSizer, false);
+
+ if (!sm_showAlignmentControls)
+ m_floatingAlignmentSizer->Show(m_alignmentSizer, false);
+
+ if (!sm_showPositionControls)
+ m_parentSizer->Show(m_positionControls, false);
+
+ if (!sm_showMinMaxSizeControls)
+ {
+ m_sizeSizer->Show(m_minWidthCheckbox, false);
+ m_sizeSizer->Show(m_minWidthSizer, false);
+ m_sizeSizer->Show(m_minHeightCheckbox, false);
+ m_sizeSizer->Show(m_minHeightSizer, false);
+ m_sizeSizer->Show(m_maxWidthCheckbox, false);
+ m_sizeSizer->Show(m_maxWidthSizer, false);
+ m_sizeSizer->Show(m_maxHeightCheckbox, false);
+ m_sizeSizer->Show(m_maxHeightSizer, false);
+ }
+
+ if (!sm_showRightBottomPositionControls)
+ {
+ m_positionGridSizer->Show(m_rightSizer, false);
+ m_positionGridSizer->Show(m_rightPositionSizer, false);
+ m_positionGridSizer->Show(m_bottomSizer, false);
+ m_positionGridSizer->Show(m_bottomPositionSizer, false);
+ }
+
+ if (!sm_showPositionModeControls)
+ m_moveObjectParentSizer->Show(m_positionModeSizer, false);