eez-open / studio

Cross-platform low-code GUI and automation
https://www.envox.eu/studio/studio-introduction/
GNU General Public License v3.0
429 stars 78 forks source link

Small UI tweaks #411

Open DrKropp opened 2 months ago

DrKropp commented 2 months ago

Please allow me to offer some suggestions for some tweaks to improve the workflow within Studio:

Please don't take these as criticism or that they have to be addressed if it is too laborious. This is a fantastic project, these are just some things I have noted while developing an LVGL project.

mvladic commented 2 months ago

First of all, thank you for your suggestions and comments!

I think points 1 to 3 are all good ideas. Here are my comments regarding remaining points:

  1. Add a "Style Builder" wizard ...

It may not be exactly the same as what you suggest, but we already have support for reusable style definitions in Styles tab (you can find it on the top-right side):

image

image

image

You can select style for the widget in "Use style" property:

image

You can even set a default stye for the widget type:

image

What we are missing is a way to display only most frequently used style properties for the widget type.

  1. Allow placeholder or dummy text for labels that contain an expression to make it easier to layout elements accurately instead of showing the expression

This is already implemented in the latest version 0.14.0:

image

  1. Include the ability to use formatting options for numeric values in labels that contain an expression. My labels dance around when going from e.g. 1 to 1.1, so it would be nice to apply formatting and display 1.0 going to 1.1.

There is already a function Math.round(/*value*/, /*numOfDigits*/). But, this is not enough. We need more options, for example to always display trailing zeros (1.0 instead of 1) etc.

mvladic commented 2 months ago

In version 0.14.1, point "1. Automatically toggle the checkbox for a property ..." is implemented.

LazaroFilm commented 2 months ago

Four point number five, it would be great to have the ability to create a slider that can change the preview value of the variable to see how the design behaves when that value is changed without having to constantly type different numbers in the preview value box.