Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1063] Fix layout regression on tree items without children #1072

Merged
merged 1 commit into from
Feb 16, 2022

Conversation

pcdavid
Copy link
Member

@pcdavid pcdavid commented Feb 16, 2022

Make sure there is always the same number of children element inside the tree item's main div so the layout is the same whether or not the item has children.

Bug: #1063
Signed-off-by: Pierre-Charles David pierre-charles.david@obeo.fr

Type of this PR

  • Bug fix
  • New feature or improvement
  • Documentation
  • Cleanup
  • Test
  • Build/Releng

Issue(s)

#1063

What does this PR do?

This fixes a regression introduced in 48913d1 where tree items without children (and thus without the collaps/expand arrow) were no longer properly aligned with the others:

Screenshot/screencast of this PR

KO

Make sure there is always the same number of children element inside
the tree item's main <div/> so the layout is the same whether or not
the item has children.

Bug: #1063
Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
@gcoutable gcoutable added this to the 2022.03.0 milestone Feb 16, 2022
@gcoutable gcoutable merged commit 3e7fe2d into master Feb 16, 2022
@gcoutable gcoutable deleted the pcd/fix/tree-item-layout branch February 16, 2022 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants