From 1a023bbfa87f5f1d161523aa192becd5cf027e6d Mon Sep 17 00:00:00 2001 From: Bluefox Date: Fri, 21 Jun 2024 23:10:50 +0900 Subject: [PATCH] Set initial size of widget --- src-widgets/src/InventwoWidgetSwitch.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src-widgets/src/InventwoWidgetSwitch.jsx b/src-widgets/src/InventwoWidgetSwitch.jsx index 6947c52..678f46c 100644 --- a/src-widgets/src/InventwoWidgetSwitch.jsx +++ b/src-widgets/src/InventwoWidgetSwitch.jsx @@ -245,6 +245,8 @@ class InventwoWidgetSwitch extends (window.visRxWidget || VisRxWidget) { ], visDefaultStyle: { overflow: 'visible', + width: 50, + height: 38, }, visPrev: 'widgets/vis-2-widgets-inventwo/img/vis-widget-inventwo-switch.png', };