09-17-2009 01:12 AM
When I select a group of controls, I'm able to change their coordinates through Arrange >> Control Coordinates. In this way I can set an absolute value for the coordinates: for example left value to 120 px for all of them.
But is there a way to set a relative value for all the controls? i.e. if I want to move all the controls 30 pixel on the left, is there a way to specify -30 px for the horizontal position? And +30 to move them 30 px to the right?
I know I can move the controls with the arrows and the ALT+arrows, but this is a long operation if I want to move them, for example,400 pixels or more
09-17-2009 01:49 AM
I'm not aware of a way do to that: let's see if anybody can help you in this respect.
This could be a good item to post to NI product suggestion center
09-17-2009 04:14 AM
i had the same problem and resorted to move my controls one by one in the "arrange/controls coordinates" dialog, using my calculator to compute new positions. quite cumbersome. however, i don't know any user interface editor which has this feature.
there is still one convoluted solution: export the uir in text format (when editing the uir, in the "options" menu), process the file using your best text editor with a macro to move the controls you want, then re-importing the .tui into cvi...
this would definitely makes a good suggestion: a "move control group" dialog. same for the size: adding 20 pixels to the width or height of all selected controls, had to do this once...
09-30-2009 11:05 AM
I'm probably missing something obvious, but if you guys want to move a group of controls by the same offset, wouldn't it be easier to just group-select them in the editor and then use the arrow keys to move them? Each press of a key moves them by 10 pixels, and if are holding down the <Shift> key they move by a single pixel.
Luis
10-01-2009 01:10 AM
Hi Luis,
I know I can do it (see my first post), but if you want to move these controls 437 pixels to the right (for example) you have to press arrows too many times (my personal opinion)
10-01-2009 09:32 AM
Vix:
Here's another feature that's still not quite the answer you were looking for.
If you want to move the group of controls in just one direction (either vertically or horizontally), keep the shift key pressed after you select the group of controls, and move them with the mouse. The first direction you move, either vertically or horizontally, will be the only direction allowed. You won't be able to move diagonally. So your alignment of the controls being moved with respect to other controls will stay the same in one direction and will change in only one direction.