You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ri...@apache.org on 2020/02/12 13:13:47 UTC

[incubator-streampipes] branch dev updated: Improve layout of widget config dialog

This is an automated email from the ASF dual-hosted git repository.

riemer pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes.git


The following commit(s) were added to refs/heads/dev by this push:
     new 88e1322  Improve layout of widget config dialog
88e1322 is described below

commit 88e13224e0fae4a5f054c2aaeb1bfeaeb731fdb9
Author: Dominik Riemer <ri...@fzi.de>
AuthorDate: Wed Feb 12 14:13:27 2020 +0100

    Improve layout of widget config dialog
---
 ui/package.json                                                       | 4 ++--
 .../static-mapping-nary/static-mapping-nary.component.css             | 4 ----
 .../static-mapping-nary/static-mapping-nary.component.html            | 4 ++--
 .../static-mapping-unary/static-mapping-unary.component.css           | 4 ----
 .../static-mapping-unary/static-mapping-unary.component.html          | 4 ++--
 5 files changed, 6 insertions(+), 14 deletions(-)

diff --git a/ui/package.json b/ui/package.json
index 353839a..eb5088f 100644
--- a/ui/package.json
+++ b/ui/package.json
@@ -16,13 +16,13 @@
   },
   "dependencies": {
     "@angular/animations": "7.2.9",
-    "@angular/cdk": "^7.3.7",
+    "@angular/cdk": "7.3.7",
     "@angular/common": "7.2.9",
     "@angular/compiler": "7.2.9",
     "@angular/core": "7.2.9",
     "@angular/flex-layout": "7.0.0-beta.23",
     "@angular/forms": "7.2.9",
-    "@angular/material": "^7.3.7",
+    "@angular/material": "7.3.7",
     "@angular/platform-browser": "7.2.9",
     "@angular/platform-browser-dynamic": "7.2.9",
     "@angular/router": "7.2.9",
diff --git a/ui/src/app/connect/static-properties/static-mapping-nary/static-mapping-nary.component.css b/ui/src/app/connect/static-properties/static-mapping-nary/static-mapping-nary.component.css
index 60748fb..8e0a18b 100644
--- a/ui/src/app/connect/static-properties/static-mapping-nary/static-mapping-nary.component.css
+++ b/ui/src/app/connect/static-properties/static-mapping-nary/static-mapping-nary.component.css
@@ -16,12 +16,8 @@
  *
  */
 
-#formWrapper {
-    height: 60px;
-}
 
 p {
-    width: 100px;
     float: left;
     margin: 20px  15px 0 0;
 }
diff --git a/ui/src/app/connect/static-properties/static-mapping-nary/static-mapping-nary.component.html b/ui/src/app/connect/static-properties/static-mapping-nary/static-mapping-nary.component.html
index 150600f..63fb595 100644
--- a/ui/src/app/connect/static-properties/static-mapping-nary/static-mapping-nary.component.html
+++ b/ui/src/app/connect/static-properties/static-mapping-nary/static-mapping-nary.component.html
@@ -17,12 +17,12 @@
   -->
 
 <div id="formWrapper" fxFlex="100" fxLayout="column">
-    <div fxFlex="20">
+    <div fxFlex="100">
         <p>{{staticProperty.label}}: <br>
             <mat-hint class="description">{{staticProperty.description}}</mat-hint>
         </p>
     </div>
-    <div fxFlex fxLayout="row">
+    <div fxFlex="100" fxLayout="row">
                 <mat-checkbox *ngFor="let property of availableProperties"
                               (change)="selectOption(property, $event)"
                               style="margin-left: 10px;">
diff --git a/ui/src/app/connect/static-properties/static-mapping-unary/static-mapping-unary.component.css b/ui/src/app/connect/static-properties/static-mapping-unary/static-mapping-unary.component.css
index 565a1d7..3ee9a0e 100644
--- a/ui/src/app/connect/static-properties/static-mapping-unary/static-mapping-unary.component.css
+++ b/ui/src/app/connect/static-properties/static-mapping-unary/static-mapping-unary.component.css
@@ -16,12 +16,8 @@
  *
  */
 
-#formWrapper {
-    height: 60px;
-}
 
 p {
-    width: 100px;
     float: left;
     margin: 20px  15px 0 0;
 }
diff --git a/ui/src/app/connect/static-properties/static-mapping-unary/static-mapping-unary.component.html b/ui/src/app/connect/static-properties/static-mapping-unary/static-mapping-unary.component.html
index 19b3c18..48b39db 100644
--- a/ui/src/app/connect/static-properties/static-mapping-unary/static-mapping-unary.component.html
+++ b/ui/src/app/connect/static-properties/static-mapping-unary/static-mapping-unary.component.html
@@ -17,12 +17,12 @@
   -->
 
 <div id="formWrapper" fxFlex="100" fxLayout="column">
-    <div>
+    <div fxFlex="100">
         <p>{{staticProperty.label}}: <br>
             <mat-hint class="description">{{staticProperty.description}}</mat-hint>
         </p>
     </div>
-    <div fxFlex fxLayout="row">
+    <div fxFlex="100" fxLayout="row">
         <form fxFlex [formGroup]="unaryTextForm" style="padding-left: 10px">
             <mat-form-field class="example-full-width">
                 <!--<mat-form-field class="example-full-width">-->