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

[editor] Disable font field

Since we can't safely assume any other font than the one we ship is 
available, it is better to not allow changing this.

I have not removed the variable completely as in the futire more than 
one font might be wanted. So for now you just can't choose another.
parent 9e7b2e6f
No related branches found
No related tags found
No related merge requests found
...@@ -80,7 +80,7 @@ import { UIElement } from '../../../../../../../common/models/uI-element'; ...@@ -80,7 +80,7 @@ import { UIElement } from '../../../../../../../common/models/uI-element';
<mat-form-field *ngIf="combinedProperties.font !== undefined" <mat-form-field *ngIf="combinedProperties.font !== undefined"
appearance="fill" class="mdInput textsingleline"> appearance="fill" class="mdInput textsingleline">
<mat-label>{{'propertiesPanel.font' | translate }}</mat-label> <mat-label>{{'propertiesPanel.font' | translate }}</mat-label>
<input matInput type="text" [value]="combinedProperties.font" <input matInput type="text" [value]="combinedProperties.font" disabled
(input)="updateModel.emit({ property: 'font', value: $any($event.target).value })"> (input)="updateModel.emit({ property: 'font', value: $any($event.target).value })">
</mat-form-field> </mat-form-field>
<mat-form-field *ngIf="combinedProperties.fontSize !== undefined" <mat-form-field *ngIf="combinedProperties.fontSize !== undefined"
......
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