I put an empty TextureRect in an empty HBoxContainer. Gave it a 64*64 sprite, then the height of the HBoxContainer became 64 automatically. I set the Scale of the TextureRect smaller (0.5*0.5) since it felt too big, but this time the height of the Container did not change (stayed at 64). Moreover, the height cannot be fixed manually in the editor.
I guess it is because the Size of the TextureRect is still 64*64. However, this Size cannot be changed in the editor either (as far as I know).
What is the best way to resize the TextureRect? Is it inevitable to resize the original sprite outside Godot?