Skip to content

pin widget#2673

Merged
hecrj merged 2 commits intomasterfrom
feature/pin-widget
Nov 24, 2024
Merged

pin widget#2673
hecrj merged 2 commits intomasterfrom
feature/pin-widget

Conversation

@hecrj
Copy link
Member

@hecrj hecrj commented Nov 22, 2024

This PR introduces a new widget: pin.

A pin widget can be used to position a widget at some fixed coordinates inside its bounds. For instance:

container(pin("• (50, 50)").x(50).y(50))
    .width(500)
    .height(500)
    .style(container::bordered_box)

@hecrj hecrj added feature New feature or request widget layout addition labels Nov 22, 2024
@hecrj hecrj added this to the 0.14 milestone Nov 22, 2024
@hecrj hecrj merged commit e8f8216 into master Nov 24, 2024
@hecrj hecrj deleted the feature/pin-widget branch November 24, 2024 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments