04-12-2022 07:03 AM
All my applications scale nicely. What scales is the controls and indicators (and the nr of panes), but not the font size.
Scaling font size will be very tricky...
04-12-2022 12:04 PM
wiebe@CARYA wrote:
All my applications scale nicely. What scales is the controls and indicators (and the nr of panes), but not the font size.
Scaling font size will be very tricky...
Yes, would be tricky, but should be included by default. On the browser window I am typing in, I can press Crtl+ and instantaneously change the font size and scale. Tricky, but doable, and something an end user expects.
04-13-2022 09:47 AM
@mcduff wrote:
wiebe@CARYA wrote:
All my applications scale nicely. What scales is the controls and indicators (and the nr of panes), but not the font size.
Scaling font size will be very tricky...
Yes, would be tricky, but should be included by default. On the browser window I am typing in, I can press Crtl+ and instantaneously change the font size and scale. Tricky, but doable, and something an end user expects.
That's not the same problem.
Increasing\Decreasing the font wouldn't be to hard.
Scaling the font linear is much harder, as fonts don't scale linearly. So you'd have to scale in steps. That's what's tricky.
Of course some texts don't have properties to set the font, but they are quite rare.
04-13-2022 11:14 AM
wiebe@CARYA wrote:
@mcduff wrote:
wiebe@CARYA wrote:
All my applications scale nicely. What scales is the controls and indicators (and the nr of panes), but not the font size.
Scaling font size will be very tricky...
Yes, would be tricky, but should be included by default. On the browser window I am typing in, I can press Crtl+ and instantaneously change the font size and scale. Tricky, but doable, and something an end user expects.
That's not the same problem.
Increasing\Decreasing the font wouldn't be to hard.
Scaling the font linear is much harder, as fonts don't scale linearly. So you'd have to scale in steps. That's what's tricky.
Of course some texts don't have properties to set the font, but they are quite rare.
True, but this is what modern users expect. I rather not have to explain to potential customers what LabVIEW can't do. All of us on this forum want LabVIEW to succeed, our careers depend on it. But that doesn't mean LabVIEW doesn't need to update their UI, make things better, etc.
04-13-2022 11:29 AM
@mcduff wrote:
wiebe@CARYA wrote:
@mcduff wrote:
wiebe@CARYA wrote:
All my applications scale nicely. What scales is the controls and indicators (and the nr of panes), but not the font size.
Scaling font size will be very tricky...
Yes, would be tricky, but should be included by default. On the browser window I am typing in, I can press Crtl+ and instantaneously change the font size and scale. Tricky, but doable, and something an end user expects.
That's not the same problem.
Increasing\Decreasing the font wouldn't be to hard.
Scaling the font linear is much harder, as fonts don't scale linearly. So you'd have to scale in steps. That's what's tricky.
Of course some texts don't have properties to set the font, but they are quite rare.
True, but this is what modern users expect. I rather not have to explain to potential customers what LabVIEW can't do. All of us on this forum want LabVIEW to succeed, our careers depend on it. But that doesn't mean LabVIEW doesn't need to update their UI, make things better, etc.
I don't think the non-linear scaling of fonts is a LabVIEW limitation.
I do agree that thinks could be easier.
04-13-2022 12:19 PM - edited 04-13-2022 12:22 PM
It took 25+ years and a global herd of top programmers to get somewhat working responsive design into websites and browser capabilities. It is still not nearly perfect!!!
The LabVIEW front panel UI dates to 1986. (In recent years, LabVIEW NXG was supposed to solve some of these issues, but failed).
Implementing true responsive scaling is a very difficult problem. I would not want all my controls and indicators to rearrange as the window is arbitrarily resized vertically and horizontally. If the axes of my XY graph are designed to show a round circle, I don't want it to show an ellipse after the window is reshaped. Even window scrollbars are not great for LabVIEW panels (while the are the cause of, and solution to, all problems for web pages (see also)).
A simple global linear rescale could be implemented if LabVIEW would just render the front panel to a (resolution defined at design time) internal bitmap (independent of screen resolution) followed by a translation layer that uses e.g. the GPU to render it to the screen at any other resolution and parse mouse locations and user interactions back. Simple scaling algorithms are available, for example most web browser can zoom everything on a website pretty well (My forum website here is at 80%, for example). Still there are shortcomings (loss of resolution, pixelation, aliasing, etc.) that might show up.
04-13-2022 12:42 PM
@altenbach wrote:
The LabVIEW front panel UI dates to 1986. (In recent years, LabVIEW NXG was supposed to solve some of these issues, but failed).
Maybe this is the reason why this forum is valid. 🙂 Not sure it would work with any other language.
04-14-2022 03:54 AM
I was messing around a bit and that was all I came up with.
Doing that may be possible with proper programing, but just to scale a bit of text?
On the other side, there are giant projects just to slide in and out some controls ...
Greetings Timo
04-14-2022 09:30 AM
@t.n14 wrote:
I was messing around a bit and that was all I came up with.
Doing that may be possible with proper programing, but just to scale a bit of text?
On the other side, there are giant projects just to slide in and out some controls ...
Sadly, you can't easily scale down, as the big text size limits the minimum size.
BTW. Is there any other (desktop) application that automatically scales fonts? I don't recall one.