01-30-2023 09:25 AM
This is a simple tab control (LabVIEW 2020). But… Its size cannot be reduced by conventional dragging.
I can open its properties and set smaller size. I can set smaller size using toolbar button Resize Objects.
However! The tab control jumps to original size at first opportunity: when I try to resize it a little or when I place a new control in one of its tabs.
What could be the problem?
01-30-2023 09:40 AM
I think the control is corrupted. Delete it and recreate it.
01-30-2023 09:41 AM
I found another way to fix it: Drop any control on page 2, then delete that control.
01-31-2023 02:53 AM
@paul_cardinale wrote:
I found another way to fix it: Drop any control on page 2, then delete that control.
Thank you Paul for your time. Unfortunately, this method does not work in my computer.
I need some simple method to fix this problem. The template is used in many places. Clones inherit the same problem. Replacing tab control everywhere manually would be a hell of work. Writing a script would also take quite a time.
01-31-2023 05:06 AM
Hi, _Y_
Try this one...
01-31-2023 05:13 AM
@diman27 wrote:
Hi, _Y_
Try this one...
Thank you. Two questions:
01-31-2023 05:30 AM - edited 01-31-2023 06:03 AM
1. I just unchecked Auto Grow in Advanced menu.
2. When Size to Fit is checked - it is normal behaviour.
Correction!
It looks like you have some hidden controls on page 1 and page 2. And it seems that this Tab Control is really broken because I can't find a way to unhide them.
If you create page 3 and then delete pages 1 and 2, everything works correctly.
Maybe recreation of pages 1 and 2 will solve your problem, without deleting Tab Control itself.
01-31-2023 06:49 AM
@diman27 wrote:
1. I just unchecked Auto Grow in Advanced menu.
2. When Size to Fit is checked - it is normal behaviour.
Correction!
It looks like you have some hidden controls on page 1 and page 2. And it seems that this Tab Control is really broken because I can't find a way to unhide them.
If you create page 3 and then delete pages 1 and 2, everything works correctly.Maybe recreation of pages 1 and 2 will solve your problem, without deleting Tab Control itself.
If there are hidden controls, they are hidden well😀 It was my first suggestion but this script did not show any more controls:
Deleting tabs is not an option. This template was used to create many tens of clones and each is filled with controls. Manual replacements could take lot of time.
Probably I should stay with semi-solution:
However, I have few days for waiting more replies to this forum thread.
01-31-2023 07:07 AM
Here is the fixed version.
01-31-2023 09:36 AM
@_Y_ wrote:
Does that catch everything, like decorations and stuff?