Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mantidproject
mantid
Commits
a6020e9b
Commit
a6020e9b
authored
Sep 03, 2020
by
Mathieu Tillet
Browse files
Stretch the buttons correctly
parent
1ab96213
Changes
2
Hide whitespace changes
Inline
Side-by-side
qt/widgets/instrumentview/src/InstrumentWidgetMaskTab.cpp
View file @
a6020e9b
...
...
@@ -170,7 +170,7 @@ InstrumentWidgetMaskTab::InstrumentWidgetMaskTab(InstrumentWidget *instrWidget)
toolBox
->
addWidget
(
m_free_draw
,
0
,
7
);
toolBox
->
addWidget
(
m_pixel
,
1
,
0
);
toolBox
->
addWidget
(
m_tube
,
1
,
1
);
toolBox
->
setColumnStretch
(
1
,
1
);
toolBox
->
setColumnStretch
(
8
,
1
);
toolBox
->
setSpacing
(
2
);
connect
(
m_move
,
SIGNAL
(
clicked
()),
this
,
SLOT
(
setActivity
()));
...
...
qt/widgets/instrumentview/src/InstrumentWidgetPickTab.cpp
View file @
a6020e9b
...
...
@@ -274,7 +274,7 @@ InstrumentWidgetPickTab::InstrumentWidgetPickTab(InstrumentWidget *instrWidget)
toolBox
->
addWidget
(
m_peakSelect
,
1
,
3
);
toolBox
->
addWidget
(
m_peakCompare
,
1
,
4
);
toolBox
->
addWidget
(
m_peakAlign
,
1
,
5
);
toolBox
->
setColumnStretch
(
6
,
1
);
toolBox
->
setColumnStretch
(
8
,
1
);
toolBox
->
setSpacing
(
2
);
connect
(
m_zoom
,
SIGNAL
(
clicked
()),
this
,
SLOT
(
setSelectionType
()));
connect
(
m_one
,
SIGNAL
(
clicked
()),
this
,
SLOT
(
setSelectionType
()));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment