Skip to content

Commit a76d8ed

Browse files
committed
updated match tool ui
1 parent d9aae61 commit a76d8ed

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

src/RewriteRuleTools/MatchToolPresenter.class.st

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -103,17 +103,21 @@ MatchToolPresenter >> getBindingsItemsForMatch: bindingsAssociation [
103103
{ #category : #initialization }
104104
MatchToolPresenter >> initializeLayout [
105105

106-
| rulePanel codePanel matchesListPanel |
106+
| rulePanel codePanel matchesWithLabelPanel |
107107
rulePanel := SpBoxLayout newTopToBottom
108-
add: methodCheckbox expand: false;
108+
add: (SpBoxLayout newLeftToRight
109+
add: methodCheckbox expand: false;
110+
addLast: executeButton expand: false;
111+
yourself)
112+
expand: false;
109113
add: ruleEditor;
110114
yourself.
111115
codePanel := SpBoxLayout newTopToBottom
112116
add: codeLabel expand: false;
113117
add: codeEditor;
114118
yourself.
115-
matchesListPanel := SpBoxLayout newVertical
116-
add: executeButton expand: false;
119+
matchesWithLabelPanel := SpBoxLayout newTopToBottom
120+
add: (self newLabel label: 'Matches') expand: false;
117121
add: matchesList;
118122
yourself.
119123

@@ -122,8 +126,8 @@ MatchToolPresenter >> initializeLayout [
122126
add: rulePanel;
123127
add: codePanel;
124128
yourself);
125-
add: (SpPanedLayout newHorizontal
126-
add: matchesListPanel;
129+
add: (SpPanedLayout newLeftToRight
130+
add: matchesWithLabelPanel;
127131
add: bindingsTable;
128132
yourself);
129133
yourself)

0 commit comments

Comments
 (0)