Skip to content
Snippets Groups Projects
Commit a9715bba authored by rhenck's avatar rhenck
Browse files

Fix alignment values for radio button group

It needs row and column to work. (It is using flex in the background.)
parent 2b69015b
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@ import { initFontElement, initSurfaceElement } from '../util/unit-interface-init
export class RadioButtonGroupElement extends InputElement implements FontElement, SurfaceUIElement {
options: string[] = [];
alignment: 'vertical' | 'horizontal' = 'vertical';
alignment: 'column' | 'row' = 'column';
strikeOtherOptions: boolean = false;
fontColor: string = 'black';
......
......@@ -108,7 +108,7 @@
<mat-label>{{'propertiesPanel.alignment' | translate }}</mat-label>
<mat-select [value]="combinedProperties.alignment"
(selectionChange)="updateModel('alignment', $event.value)">
<mat-option *ngFor="let option of ['horizontal', 'vertical']"
<mat-option *ngFor="let option of ['column', 'row']"
[value]="option">
{{ 'propertiesPanel.' + option | translate }}
</mat-option>
......
......@@ -72,7 +72,9 @@
"requiredWarnMessage": "Warnmeldung",
"options": "Optionen",
"vertical": "vertikal",
"column": "vertikal",
"horizontal": "horizontal",
"row": "horizontal",
"resizeEnabled": "größenverstellbar",
"action": "Aktion",
"previous": "Vorherige Unit",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment