Skip to content

Conversation

@ashwinvaidya17
Copy link
Contributor

What does this PR do?

label1 = Label(label="Label 1")
label2 = Label(label="Label 2", bg_color="red")
label3 = Label(label="Label 3", bg_color="blue")

scene = MockScene(image, label=[label1, label2, label3], layout=Flatten(Label))
scene.save("scene_flatten.jpg")

scene = MockScene(image, label=[label1, label2, label3], layout=HStack(Label))
scene.save("scene_hstack.jpg")
image image

Fixes # (issue)

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • Did you make sure to update the documentation with your changes?
  • Did you write any new necessary tests?

@github-actions github-actions bot added the tests Related to tests label Jan 17, 2025
Signed-off-by: Ashwin Vaidya <[email protected]>
@sovrasov sovrasov added this to the 0.2.6 milestone Jan 17, 2025
@sovrasov sovrasov added this pull request to the merge queue Jan 17, 2025
Merged via the queue into open-edge-platform:master with commit 46b74db Jan 17, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests Related to tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants