Skip to content

Add InfoBar control#401

Merged
pomianowski merged 11 commits intolepoco:developmentfrom
chucker:features/infobar
Sep 23, 2022
Merged

Add InfoBar control#401
pomianowski merged 11 commits intolepoco:developmentfrom
chucker:features/infobar

Conversation

@chucker
Copy link
Copy Markdown
Collaborator

@chucker chucker commented Sep 21, 2022

This adds an adaption of the InfoBar control.

Pull request type

Please check the type of change your PR introduces:

  • Update
  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes

Supported scenarios

  • four severity levels Information (default), Success, Warning, Error. These automatically color the background and symbol icon, and choose an appropriate glyph.
  • Title (bold) and Message (more detailed text) properties
  • a close button, which can optionally be turned off with IsClosable

Currently not supported

  • custom background color
  • custom symbol icon
  • action button
  • content wrapping
  • custom content (e.g., progress bar)
  • canceling close

@github-actions github-actions Bot added controls Changes to the appearance or logic of custom controls. styles Topic is related to styles labels Sep 21, 2022
@chucker chucker marked this pull request as ready for review September 21, 2022 20:50
@pomianowski
Copy link
Copy Markdown
Member

pomianowski commented Sep 22, 2022

Hey @chucker, thank you for your contribution!

The text is not centered and looks misaligned.
image

Comment thread src/Wpf.Ui/Controls/InfoBar.cs
Comment thread src/Wpf.Ui/Styles/Controls/InfoBar.xaml.cs Outdated
Comment thread src/Wpf.Ui/Styles/Controls/InfoBar.xaml
@pomianowski pomianowski self-assigned this Sep 23, 2022
@pomianowski pomianowski added this to the Base controls complete milestone Sep 23, 2022
@pomianowski pomianowski merged commit 6acc271 into lepoco:development Sep 23, 2022
@chucker chucker mentioned this pull request Oct 14, 2022
7 tasks
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Sep 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

controls Changes to the appearance or logic of custom controls. styles Topic is related to styles

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants