diff --git a/projects/editor/src/app/app.module.ts b/projects/editor/src/app/app.module.ts index 9d769ff9a0c3ef3f8a5310d3b8c58ab06cb08441..48dd13d913f6837626ef6a4a8ea4982e37d8250a 100644 --- a/projects/editor/src/app/app.module.ts +++ b/projects/editor/src/app/app.module.ts @@ -129,6 +129,7 @@ import { PageMenu } from 'editor/src/app/components/unit-view/page-menu.componen import { MAT_TOOLTIP_DEFAULT_OPTIONS, MatTooltipDefaultOptions } from '@angular/material/tooltip'; import { ReferenceListComponent } from 'editor/src/app/components/reference-list.component'; import { ElementListComponent } from 'editor/src/app/components/element-list.component'; +import { MeasurePipe } from 'common/pipes/measure.pipe'; /** Custom options the configure the tooltip's default show/hide delays. */ export const myCustomTooltipDefaults: MatTooltipDefaultOptions = { @@ -236,7 +237,9 @@ export const myCustomTooltipDefaults: MatTooltipDefaultOptions = { EleSpecificPropsComponent, PageMenu, ReferenceListComponent, - ElementListComponent + ElementListComponent, + SizeInputPanelComponent, + MeasurePipe ], providers: [ { provide: APIService, useExisting: VeronaAPIService }, diff --git a/projects/editor/src/app/components/properties-panel/position-properties-tab/input-groups/dimension-field-set.component.ts b/projects/editor/src/app/components/properties-panel/position-properties-tab/input-groups/dimension-field-set.component.ts index 63736bce2a88350655433f6e69664f5448362e68..ba0ae215e16c649a529c520cc0cf70f68ddf21f5 100644 --- a/projects/editor/src/app/components/properties-panel/position-properties-tab/input-groups/dimension-field-set.component.ts +++ b/projects/editor/src/app/components/properties-panel/position-properties-tab/input-groups/dimension-field-set.component.ts @@ -11,7 +11,7 @@ import { ElementService } from 'editor/src/app/services/unit-services/element.se <legend>Dimensionen</legend> <ng-container *ngIf="unitService.unit.pages[selectionService.selectedPageIndex] .sections[selectionService.selectedSectionIndex].dynamicPositioning || - selectionService.isClozeChildSelected; + selectionService.isCompoundChildSelected; else elseBlock"> <mat-checkbox #fixedWidth [checked]="$any(dimensions.isWidthFixed)" (change)="updateDimensionProperty('isWidthFixed', $event.checked)">