Skip to content

Add font_maybe Utility Function to Text#2988

Merged
hecrj merged 1 commit intoiced-rs:masterfrom
andymandias:text-font_maybe
Nov 27, 2025
Merged

Add font_maybe Utility Function to Text#2988
hecrj merged 1 commit intoiced-rs:masterfrom
andymandias:text-font_maybe

Conversation

@andymandias
Copy link
Contributor

A small utility function to allow concise font setting when one has an Option<Font> instead of a Font, modeled after the font_maybe function for Span in core/src/text.rs.

@andymandias andymandias changed the title Add font_maybe Utility to Text Add font_maybe Utility Function to Text Jun 12, 2025
@hecrj hecrj added this to the 0.14 milestone Jun 13, 2025
@hecrj hecrj added feature New feature or request text widget addition labels Jun 13, 2025
@andymandias andymandias force-pushed the text-font_maybe branch 2 times, most recently from d23723f to b5adecc Compare September 9, 2025 19:26
Copy link
Member

@hecrj hecrj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@hecrj hecrj merged commit d94c080 into iced-rs:master Nov 27, 2025
15 checks passed
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.

2 participants

Comments