UI FEATURE
papawo
Member, Developers Posts: 206 PRO
is there a way to put a string in UI and not be a parameter?
Im thinking of something like instruction to the user that I can include in UI.
Im thinking of something like instruction to the user that I can include in UI.
0
Best Answers
-
We don't currently provide a way to put a readonly string in the feature dialog. To display instructions, you could pop up a message bubble, per your post from earlier (https://forum.onshape.com/discussion/4981/message-output-in-fs). In general, we're trying to keep the feature dialogs as lean as possible. The dialogs can get long with just the editable parameters alone, so we're being very careful about what we add to it. If you have a specific use case that you're trying to solve, we'd like to know more details so we can consider it in our future planning.6
-
I see - yes we currently will truncate that query list name rather than wrapping it, and we currently don't have a way to override that behavior. If you hover, the tooltip will show the entire instruction text with lines wrapped, so you can still see all of it, but it is a little more of a speed bump in the experience.5
Answers
-
We don't currently provide a way to put a readonly string in the feature dialog. To display instructions, you could pop up a message bubble, per your post from earlier (https://forum.onshape.com/discussion/4981/message-output-in-fs). In general, we're trying to keep the feature dialogs as lean as possible. The dialogs can get long with just the editable parameters alone, so we're being very careful about what we add to it. If you have a specific use case that you're trying to solve, we'd like to know more details so we can consider it in our future planning.6
-
How about using comments? They can be attached to features, sketches, etc. quite handy. You would just have to make sure your users find them. They only show, when you open the notification/comment box.0
-
ok....how about multiple line in the annotation, is it doable?0
-
In cases where the content for a message bubble or the name of a feature parameter is long, the string should wrap appropriately (or be truncated and have a tooltip containing the full wrapped text). Do you have a different use case where you need multiple lines? I'm also not quite sure what you mean by "in the annotation" - are you thinking of a specific field in the annotation?0
-
I see - yes we currently will truncate that query list name rather than wrapping it, and we currently don't have a way to override that behavior. If you hover, the tooltip will show the entire instruction text with lines wrapped, so you can still see all of it, but it is a little more of a speed bump in the experience.5
-
Ok I will look forward to that.
thanks!0


