godotengine / godotengine/godot

Can't set Control Pivot Offset through inspector when in a Container

Open
#101,877 25 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

discussion enhancement topic:editor topic:gui usability
Dominant language
C++
Stars
117k
Forks
26.8k
PR merge metrics
PR metrics pending

Description

Tested versions

Godot v4.4.beta1.mono

System information

Godot v4.4.beta1.mono - Windows 11 (build 22631) - Multi-window, 2 monitors - Vulkan (Mobile) - dedicated NVIDIA GeForce RTX 4070 (NVIDIA; 32.0.15.6636) - 12th Gen Intel(R) Core(TM) i7-12700KF (20 threads)

Issue description

It's not possible to set the Pivot Offset for a control that exists in a Container node. Transform fields are all disabled :

Image

Sure it's possible using the v shortcut or the button on top of the scene editor but it's not precise enough for the majority of cases out there.

Steps to reproduce

In a new project, create a HBoxContainer and add a Control inside, select it and go to its inspector transform tab.

Minimal reproduction project (MRP)

None

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue by creating an HBoxContainer with a Control child and opening the child's inspector Transform tab. Trace how the inspector disables transform fields for controls inside containers; done when Pivot Offset can be set precisely there without breaking container layout behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, godot
Domain
game-dev, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.