02-11-2011 12:16 PM
Hello!
I'm doing a LabVIEW tutorial and an excercies is to add some pictures and text to a "Text & Pict Ring". I can add text and pictures to the control.
But the picture part of the control is always a single line in height, so the pictures get choped. And i can't understand how to change the height of just the picture part of the control. No matter how much i change the size of the control, the height of the picture part is always the same..
/Peter
02-11-2011 12:31 PM
Interesting. I can resize just like any control. How are you importing the picture? I do Edit/Import Picture To Clipboard, then right click on the ring control and select Import Picture From Clipboard. I can then resize as normal with the position and size tool.
02-11-2011 12:49 PM
I tried all the importing possibilities
1. Copying the pic to the clipboard and the add it via "Import picture from clipboard"
2. Also the "After" and "Before" import
3. Drag and drop the picture from the folder onto the Text&Pic Ring Ctrl
02-11-2011 12:51 PM - edited 02-11-2011 12:55 PM
Try this. Start with a new blank vi. Place a new Text & Pict Ring on the front panel and see if you can resize that.
Are you having trouble resizing a raw picture ring or is it from a strict typedef? I guess it couldn't be a strict typedef otherwise you would not have the option of importing a picture.
02-11-2011 01:14 PM
I don't know what you mean with a typedef or strict typedef (new to LabVIEW).
Anyway, a Pict Ring i can resize to show the whole picture. In the Text & Pict Ring only the Text area changes height, not the picture area.
I use LabVIEW 2010 Evaluation version.
06-14-2018 09:28 AM
I have the same problem like redsmolf. Does anyone have any idea how to resize the picture and not the text ring?
I use LabVIEW 2015.
06-14-2018 09:40 AM
@Planika wrote:
I have the same problem like redsmolf. Does anyone have any idea how to resize the picture and not the text ring?
I use LabVIEW 2015.
If you drag the bottom enge of the control around, it determines how tall the picture will be. If you drag the top edge around, you determine how tall the text box is. Because of the nature of the control, dragging one of the sides determines how wide both elements will be. Other than trial and error, I'm not sure how to make it the necessary size to fit your picture.
06-14-2018 09:44 AM - edited 06-14-2018 09:45 AM
@billko wrote:
@Planika wrote:
I have the same problem like redsmolf. Does anyone have any idea how to resize the picture and not the text ring?
I use LabVIEW 2015.
If you drag the bottom enge of the control around, it determines how tall the picture will be. If you drag the top edge around, you determine how tall the text box is. Because of the nature of the control, dragging one of the sides determines how wide both elements will be. Other than trial and error, I'm not sure how to make it the necessary size to fit your picture.
OMG, no way. 😄 I was trying only the bottom edge. Thanks billko. My question was just too silly.
06-14-2018 10:27 AM
@Planika wrote:
@billko wrote:
@Planika wrote:
I have the same problem like redsmolf. Does anyone have any idea how to resize the picture and not the text ring?
I use LabVIEW 2015.
If you drag the bottom enge of the control around, it determines how tall the picture will be. If you drag the top edge around, you determine how tall the text box is. Because of the nature of the control, dragging one of the sides determines how wide both elements will be. Other than trial and error, I'm not sure how to make it the necessary size to fit your picture.
OMG, no way. 😄 I was trying only the bottom edge. Thanks billko. My question was just too silly.
Ugh, I forgot that the text was on the BOTTOM. Thanks for being able to interpret what I was actually trying to say. 😄