diff --git a/src/widget/widget-factory.js b/src/widget/widget-factory.js index ed04630..e3f4c2c 100644 --- a/src/widget/widget-factory.js +++ b/src/widget/widget-factory.js @@ -200,10 +200,10 @@ class WidgetFactory { break; case 'TimeOffset': - widget.minWidth = 20; - widget.minHeight = 20; - widget.width = 100; - widget.height = 40; + widget.minWidth = 200; + widget.minHeight = 80; + widget.width = 200; + widget.height = 80; widget.customProperties.threshold_yellow = 1; widget.customProperties.threshold_red = 2; widget.customProperties.icID = -1; diff --git a/src/widget/widgets/time-offset.js b/src/widget/widgets/time-offset.js index 3682da8..ee429e8 100644 --- a/src/widget/widgets/time-offset.js +++ b/src/widget/widgets/time-offset.js @@ -66,7 +66,6 @@ class WidgetTimeOffset extends Component { } else if (this.props.widget.customProperties.showOffset){ icSelected = this.state.timeOffset + 's'; } - return (
{this.props.widget.customProperties.icID !== -1 ? @@ -81,7 +80,7 @@ class WidgetTimeOffset extends Component { : (Please select Infrastructure Component)} }> -