09-08-2017 12:21 PM
Basic question, but I've found nothing in this forum or in Help that seems to match--I imported and pasted a graphic (my company logo) onto the front panel of my VI, but I can't figure out how to resize it while constraining the aspect ratio (e.g. resizing it proportionally).
I'm not asking to do it programmatically; I'm asking simply about resizing it to fit the rest of the front panel's design.
If I grab the handles the drag, it allows arbitrary resizing on both axes. If I hold down Shift it constrains it to resizing one axis only. I've tried every combination of modifier keys, on both OS X and on Windows, and I can't seem to constrain the aspect ratio.
I can try to eyeball it, but my eyeballs are terrible at things like this, and if the graphic isn't scaled strictly proportionally it looks horrible.
09-08-2017 01:34 PM - edited 09-08-2017 01:35 PM
While it has not always been available (not in old LV versions) but Stephen did add....
Resize Objects >>> Set Width & Height
It is a pop-up window that lets you key in the exact height and width.
"Resize Objects" is one of the button next the distribute and align buttons.
Ben
09-08-2017 01:49 PM
Thanks! I hadn't seen that before.
But there's still no checkbox for Constrain Aspect Ratio, like I see for nearly all other applications that allow image re-sizing. I suppose I can write down the H/W before resizing, close the dialog, drag to resize the width, then re-open the dialog, look at the new width, calculate the appropriate height, and type that in. ![]()
But it sure would be nice to have a checkbox and a modifier key for drag-resizing. What's the best method for submitting feature requests to NI?
09-08-2017 02:04 PM
@TheWaterbug wrote:
Thanks! I hadn't seen that before.
But there's still no checkbox for Constrain Aspect Ratio, like I see for nearly all other applications that allow image re-sizing. I suppose I can write down the H/W before resizing, close the dialog, drag to resize the width, then re-open the dialog, look at the new width, calculate the appropriate height, and type that in.
But it sure would be nice to have a checkbox and a modifier key for drag-resizing. What's the best method for submitting feature requests to NI?
My wife has an expression that she adapted after hearing me once...
"Stand Back! He is going to do MATH!"
Submit your idea to the idea exchange.
https://forums.ni.com/t5/LabVIEW-Idea-Exchange/idb-p/labviewideas
If you get enough votes, they will consider it and you may get your name mentioned in the release notes.
But you will have to make a good enough case to get those votes. So go sell it!
Ben
09-08-2017 02:35 PM
09-08-2017 06:05 PM
As it turns out, it's already a feature, but it's buggy. See the link above.