MyreMylar / pygame_gui

A GUI system for pygame.
MIT License
700 stars 83 forks source link

Fix auto resizing container #544

Closed MyreMylar closed 8 months ago

MyreMylar commented 8 months ago

Some fixes to handle dynamic shaped buttons and labels interacting with the auto-resizing container.

codecov[bot] commented 8 months ago

Codecov Report

Attention: Patch coverage is 94.73684% with 8 lines in your changes are missing coverage. Please review.

Project coverage is 96.23%. Comparing base (9b047ab) to head (486ee3b).

Files Patch % Lines
pygame_gui/core/ui_element.py 25.00% 3 Missing :warning:
...ore/drawable_shapes/rounded_rect_drawable_shape.py 96.49% 2 Missing :warning:
...gui/core/drawable_shapes/ellipse_drawable_shape.py 97.56% 1 Missing :warning:
pygame_gui/elements/ui_button.py 66.66% 1 Missing :warning:
pygame_gui/elements/ui_label.py 66.66% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #544 +/- ## ========================================== - Coverage 96.29% 96.23% -0.06% ========================================== Files 87 87 Lines 12400 12416 +16 ========================================== + Hits 11941 11949 +8 - Misses 459 467 +8 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.