Skip to content

Editor: UI Editor serializes whole widgets hierarchy #993

@eprikazchikov

Description

@eprikazchikov

Description

UI Editor serializes whole widgets hierarchy. Including Sub Widgets

Prerequisites

UI Editor opened

Steps to Reproduce

  1. Add a Button
  2. Save UI
  3. Check sources of ui file

Expected behavior:

  1. ui file contains only a Button element
<?xml version="1.0"?>
<ui>
	<Button name="button" text="Test1" />
</ui>

Actual behavior:

  1. ui file contains whole Button hierarchy with sub widgets
<?xml version="1.0"?>
<ui>
	<Button name="button" text="Test1">
		<Frame name="Background"  />
		<Label name="Label" text="Test1" />
		<Image name="Image" />
	</Button>
</ui>

Reproducibility:

100%

Versions

2025.2

Additional Information

n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2This issue should be included to the next release

    Type

    Projects

    Status

    Done for Release

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions