Skip to content

Make copy-worthy text selectable in Avalonia#4983

Merged
Gabriel Dufresne (GabrielDuf) merged 1 commit into
mainfrom
selectable-copy-worthy-text
Jun 22, 2026
Merged

Make copy-worthy text selectable in Avalonia#4983
Gabriel Dufresne (GabrielDuf) merged 1 commit into
mainfrom
selectable-copy-worthy-text

Conversation

@GabrielDuf

Copy link
Copy Markdown
Contributor

This pull request updates several UI components to improve text selection capabilities across the application. The main change is replacing instances of TextBlock with SelectableTextBlock in various views, allowing users to select and copy text where previously it was not possible.

UI Improvements:

  • Replaced TextBlock with SelectableTextBlock for the command preview in InstallOptionsControl.axaml, enabling users to select and copy the command text.
  • Updated PackageDetailsWindow.axaml to use SelectableTextBlock for the source display, making the source information selectable.
  • Changed the version text in AboutPage.axaml to a SelectableTextBlock, allowing users to select the version string.
  • Updated InstallOptionsPanel.axaml to use SelectableTextBlock for the location text, improving usability for copying install locations.
  • Modified PackageManagerPage.axaml to make the version text selectable by switching to SelectableTextBlock.
  • Changed the URL display in SourceManagerCard.axaml to a SelectableTextBlock, so repository URLs can be easily copied.

@GabrielDuf Gabriel Dufresne (GabrielDuf) merged commit af3deb6 into main Jun 22, 2026
1 check passed
@GabrielDuf Gabriel Dufresne (GabrielDuf) deleted the selectable-copy-worthy-text branch June 22, 2026 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Cannot copy the generated winget command from the "Settings for installation" dialog

2 participants