File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -274,13 +274,15 @@ class Mapping : public QGroupBox
274274
275275 update_display ();
276276
277- horizontal_layout->addWidget (label);
278- horizontal_layout->addWidget (m_display_box);
277+ horizontal_layout->addWidget (label, 1 );
278+ horizontal_layout->addWidget (m_display_box, 2 );
279279 if (m_button_status)
280- horizontal_layout->addWidget (m_button_status);
281- horizontal_layout->addWidget (m_map_button);
282- horizontal_layout->addWidget (m_unmap_button);
283- horizontal_layout->addWidget (m_reverse_checkbox);
280+ horizontal_layout->addWidget (m_button_status, 1 );
281+ else
282+ horizontal_layout->addStretch (1 ); // For a more consistent layout
283+ horizontal_layout->addWidget (m_map_button, 1 );
284+ horizontal_layout->addWidget (m_unmap_button, 1 );
285+ horizontal_layout->addWidget (m_reverse_checkbox, 1 );
284286
285287 if (m_axis_status)
286288 layout->addWidget (m_axis_status);
You can’t perform that action at this time.
0 commit comments