Skip to content

Commit

Permalink
fix size of NumberInput widget
Browse files Browse the repository at this point in the history
  • Loading branch information
mvladic committed Jun 14, 2024
1 parent f575b0a commit 788fc1b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"author": "Envox <eez@envox.hr>",
"description": "Cross-platform visual development tool and SCPI instrument controller",
"homepage": "https://www.envox.hr/eez/studio/studio-introduction.html",
"version": "0.14.1",
"version": "0.15.0",
"revision": "1",
"license": "GPL-3.0-only",
"repository": "https://github.com/eez-open/studio",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ const NumberInputDashboardWidgetElement = observer(
render() {
const { flowContext, component } = this.props;

let value = evalProperty(flowContext, component, "value") ?? 25;
let value = evalProperty(flowContext, component, "value") ?? 0;
let min = evalProperty(flowContext, component, "min") ?? 0;
let max = evalProperty(flowContext, component, "max") ?? 100;
let step = evalProperty(flowContext, component, "step") ?? 1;
Expand Down Expand Up @@ -755,7 +755,7 @@ export class NumberInputDashboardWidget extends Widget {
left: 0,
top: 0,
width: 180,
height: 20,
height: 32,
min: "0",
max: "100",
step: "1"
Expand Down

0 comments on commit 788fc1b

Please sign in to comment.