Skip to content

float widget and other cool stuff#2916

Merged
hecrj merged 9 commits intomasterfrom
feature/float-widget
May 1, 2025
Merged

float widget and other cool stuff#2916
hecrj merged 9 commits intomasterfrom
feature/float-widget

Conversation

@hecrj
Copy link
Member

@hecrj hecrj commented May 1, 2025

This PR introduces a new float widget that can be used to make a widget float over other widgets.

Basically, it replaces the functionality in #2903 with a more generic solution that not only works with images, but any widget!

Additionally, the changes here enable a couple of cool things:

  • canvas::Text now supports a max_width limit, which allows drawing paragraphs.
  • canvas::Frame can now stroke_text.
  • Widget::overlay may now return an Overlay that borrows Layout.
  • The Present tab in comet now displays a chart with the amount of rendered layers.

@hecrj hecrj added this to the 0.14 milestone May 1, 2025
@hecrj hecrj enabled auto-merge May 1, 2025 01:08
@hecrj hecrj merged commit dc69fde into master May 1, 2025
30 checks passed
@hecrj hecrj deleted the feature/float-widget branch May 1, 2025 01:16
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.

1 participant

Comments