Skip to content

Commit

Permalink
Moved grid type setting down toward bottom of settings panel for grid…
Browse files Browse the repository at this point in the history
… questions
  • Loading branch information
Matt committed Mar 1, 2018
1 parent 78cbd4b commit cb04998
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/app/questionpanel/questionpanel.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -530,11 +530,6 @@ <h1 *ngSwitchCase="'h1'" [ngStyle]="{'color': question.color}">{{question.label}
</mat-form-field>
<mat-slide-toggle [(ngModel)]="questionToEdit.options.hideQuestion">Hide Question?</mat-slide-toggle>
<mat-slide-toggle [(ngModel)]="questionToEdit.options.responseRequired">Answer Required?</mat-slide-toggle>
<p>Grid Type</p>
<mat-button-toggle-group [(ngModel)]="questionToEdit.options.gridType">
<mat-button-toggle value="radio"><mat-icon>radio_button_checked</mat-icon></mat-button-toggle>
<mat-button-toggle value="checkbox"><mat-icon>check_box</mat-icon></mat-button-toggle>
</mat-button-toggle-group>
<mat-form-field>
<input matInput [(ngModel)]="questionToEdit.options.padding" placeholder="Padding">
</mat-form-field>
Expand All @@ -559,6 +554,11 @@ <h1 *ngSwitchCase="'h1'" [ngStyle]="{'color': question.color}">{{question.label}
<mat-button-toggle value="center"><mat-icon>format_align_center</mat-icon></mat-button-toggle>
<mat-button-toggle value="flex-end"><mat-icon>format_align_right</mat-icon></mat-button-toggle>
</mat-button-toggle-group>
<p>Grid Type</p>
<mat-button-toggle-group [(ngModel)]="questionToEdit.options.gridType">
<mat-button-toggle value="radio"><mat-icon>radio_button_checked</mat-icon></mat-button-toggle>
<mat-button-toggle value="checkbox"><mat-icon>check_box</mat-icon></mat-button-toggle>
</mat-button-toggle-group>
<p>Answer Options</p>
<div id="questionOptionList" *ngFor="let option of tempQuestionOptions; index as i; last as isLast;">
<input type="text" [(ngModel)]="questionToEdit.options.questionOptions[i]">
Expand Down

0 comments on commit cb04998

Please sign in to comment.