I have a scene which has a Control node (nothing else) and a ProgressBar, this ProgressBar was saved as a separate scene, now when I close the Control scene the ProgressBar gets resized if it's around the border (not outside but just precisely on the border, in the video it's the top left corner). If I put the progress away from the edges/corners it seems to be fine. Same happens when the Control scene is used in another scene as a Ui for example.
From what it seems to me the ProgressBar resizes to fit the font size despite the Show Percentage being unchecked, I also tried to override the font size to 1 px but that did not change this behaviour at all.
Steps to reproduce
Create a new Control scene with a Control Node as the top node.
Add a ProgressBar (name it however you want).
Save the scene (I'll refer to this file as Control scene).
Change ProgressBar size down (it needs to be smaller than some who knows what value): Layout -> Transform -> Size (67, 5)
Uncheck ProgressBar's ShowPercentage (make sure it doesn't show any numbers otherwise you can't resize it below the font size limit!)
Right click the ProgressBar and save it as a scene (I'll refer to this file as a Progress scene).
Now close the Control scene.
Open the Control scene again.
(If it did not work then you might need to delete the ProgressBar from the scene and drag and drop the save Progress scene into the Control node and make sure you keep it at the origin - top left corner.
Observer the ProgressBar expanding to some random size (it might be related to some default font size perhaps, at least that's what it looks like to me it resizes to?)
Tested versions
4.4.dev3, 4.3 standard, 4.3-mono, 4.3.1-mono-rc
System information
Windows 11 - Vulkan - Nvidia RTX 4070 - intel i5 13600KF
Issue description
I have a scene which has a Control node (nothing else) and a ProgressBar, this ProgressBar was saved as a separate scene, now when I close the Control scene the ProgressBar gets resized if it's around the border (not outside but just precisely on the border, in the video it's the top left corner). If I put the progress away from the edges/corners it seems to be fine. Same happens when the Control scene is used in another scene as a Ui for example.
Watch the video below please.
https://github.com/user-attachments/assets/ef296f54-fce9-46ab-a3d6-31dc47490809
From what it seems to me the ProgressBar resizes to fit the font size despite the Show Percentage being unchecked, I also tried to override the font size to 1 px but that did not change this behaviour at all.
Steps to reproduce
Minimal reproduction project (MRP)
ProgressBarMrp.zip