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

[editor] Improve layout of style properties

-> Don't hive line-coloring input but just disable.
parent edb7e21e
No related branches found
No related tags found
No related merge requests found
Pipeline #52484 passed
...@@ -12,11 +12,13 @@ import { Stylings } from 'common/models/elements/property-group-interfaces'; ...@@ -12,11 +12,13 @@ import { Stylings } from 'common/models/elements/property-group-interfaces';
{{'propertiesPanel.lineColoring' | translate }} {{'propertiesPanel.lineColoring' | translate }}
</mat-checkbox> </mat-checkbox>
<mat-form-field *ngIf="styles.lineColoring && styles.lineColoringColor !== undefined" <mat-form-field *ngIf="styles.lineColoringColor !== undefined"
appearance="fill" class="mdInput textsingleline"> appearance="fill" class="mdInput textsingleline">
<mat-label>{{'propertiesPanel.lineColoringColor' | translate }}</mat-label> <mat-label>{{'propertiesPanel.lineColoringColor' | translate }}</mat-label>
<input matInput type="text" [value]="styles.lineColoringColor" <input matInput type="text" [value]="styles.lineColoringColor"
(input)="unitService.updateSelectedElementsStyleProperty('lineColoringColor', $any($event.target).value)"> [disabled]="!styles.lineColoring || styles.lineColoringColor === undefined"
(input)="unitService.updateSelectedElementsStyleProperty(
'lineColoringColor', $any($event.target).value)">
<button mat-icon-button matSuffix (click)="lineColorInput.click()"> <button mat-icon-button matSuffix (click)="lineColorInput.click()">
<mat-icon>edit</mat-icon> <mat-icon>edit</mat-icon>
</button> </button>
......
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