Skip to content
Snippets Groups Projects
Commit f3a29330 authored by Aliye Tanriseven's avatar Aliye Tanriseven
Browse files

update configuration-elements

parent 816b2056
No related merge requests found
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
fxLayoutGap="20px" fxLayoutGap="20px"
fxLayout.xs="column" fxLayout.xs="column"
> >
<mat-form-field fxFlex fxLayout.xs="column"> <!--<mat-form-field fxFlex fxLayout.xs="column">
<mat-label>{{'tag-cloud.height' | translate}}</mat-label> <mat-label>{{'tag-cloud.height' | translate}}</mat-label>
<input <input
matInput matInput
...@@ -93,8 +93,8 @@ ...@@ -93,8 +93,8 @@
min="100" min="100"
max="1000" max="1000"
step="10" step="10"
/> />
</mat-form-field> </mat-form-field>-->
</div> </div>
<div <div
class="input-row" class="input-row"
...@@ -102,24 +102,14 @@ ...@@ -102,24 +102,14 @@
fxLayoutGap="20px" fxLayoutGap="20px"
fxLayout.xs="column" fxLayout.xs="column"
> >
<mat-slide-toggle fxFlex formControlName="overflow" <mat-slide-toggle fxFlex formControlName="realignOnResize"
>{{'tag-cloud.overflow' | translate}}</mat-slide-toggle >{{'tag-cloud.realign' | translate}}</mat-slide-toggle
>
<mat-slide-toggle fxFlex formControlName="randomizeAngle"
>{{'tag-cloud.random-angle' | translate}}</mat-slide-toggle
> >
</div> <mat-slide-toggle fxFlex formControlName="randomizeAngle"
<div >{{'tag-cloud.random-angle' | translate}}</mat-slide-toggle
class="input-row"
fxLayout="row"
fxLayoutGap="20px"
fxLayout.xs="column"
> >
<mat-slide-toggle fxFlex formControlName="realignOnResize"
>{{'tag-cloud.realign' | translate}}</mat-slide-toggle
>
</div> </div>
<div <div
class="input-row" class="input-row"
fxLayout="row" fxLayout="row"
...@@ -173,7 +163,34 @@ ...@@ -173,7 +163,34 @@
></mat-slider> ></mat-slider>
</div> </div>
</div> </div>
<div
class="input-row"
fxLayout="row"
fxLayoutGap="20px"
fxLayout.xs="column"
>
<div
class="input-row"
fxLayout="row"
fxLayout.xs="column"
fxLayoutGap="20px"
>
<div fxFlex="50%" fxFlex.xs="100%">
<mat-form-field fxFlex fxLayout.xs="column">
<mat-label>{{'tag-cloud.font-size' | translate}}</mat-label>
<input
matInput
type="number"
formControlName="font-size"
placeholder="font-size"
min="100"
max="150"
step="10"
/>
</mat-form-field>
</div>
</div>
</div>
<h3>{{'tag-cloud.hover-title' | translate}}</h3> <h3>{{'tag-cloud.hover-title' | translate}}</h3>
<div formGroupName="zoomOnHover"> <div formGroupName="zoomOnHover">
<div <div
...@@ -215,7 +232,7 @@ ...@@ -215,7 +232,7 @@
<mat-slider <mat-slider
min="1" min="1"
max="2" max="2"
step="0.01" step="0.2"
formControlName="scale" formControlName="scale"
[thumbLabel]="true" [thumbLabel]="true"
></mat-slider> ></mat-slider>
...@@ -233,7 +250,7 @@ ...@@ -233,7 +250,7 @@
<mat-slider <mat-slider
min="0" min="0"
max="2" max="2"
step="0.1" step="0.2"
formControlName="transitionTime" formControlName="transitionTime"
[thumbLabel]="true" [thumbLabel]="true"
></mat-slider> ></mat-slider>
...@@ -250,13 +267,14 @@ ...@@ -250,13 +267,14 @@
</div> </div>
</div> </div>
</div> </div>
<div <!--div
class="input-row" class="input-row"
fxLayout="row" fxLayout="row"
fxLayoutGap="20px" fxLayoutGap="20px"
fxLayout.xs="column" fxLayout.xs="column"
> >
</div> </div>-->
<!-- <h2>Style</h2> --> <!-- <h2>Style</h2> -->
<!-- <div <!-- <div
class="input-row" class="input-row"
......
...@@ -20,10 +20,10 @@ export class CloudConfigurationComponent implements OnInit { ...@@ -20,10 +20,10 @@ export class CloudConfigurationComponent implements OnInit {
cloudConfigForm: FormGroup; cloudConfigForm: FormGroup;
data: CloudData[] = []; data: CloudData[] = [];
title: String = "Cloud Configuration" title: String = "Cloud Configuration"
height: number = 400; //height: number = 400;
overflow: boolean = false; overflow: boolean = false;
realignonResize: boolean = true; realignonResize: boolean = true;
randomizeAngle: boolean = true; randomizeAngle: boolean = false;
background: string = "#333"; background: string = "#333";
delay: number = 1; delay: number = 1;
...@@ -38,7 +38,7 @@ export class CloudConfigurationComponent implements OnInit { ...@@ -38,7 +38,7 @@ export class CloudConfigurationComponent implements OnInit {
overflow: false, overflow: false,
strict: false, strict: false,
realignOnResize: true, realignOnResize: true,
randomizeAngle: true, randomizeAngle: false,
zoomOnHover: { zoomOnHover: {
scale: 1.2, scale: 1.2,
transitionTime: 0.6, transitionTime: 0.6,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment