Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Theme Docker Container Selector Dialog #1430

Merged
merged 6 commits into from
Jan 2, 2024
Merged

Conversation

WardenGnaw
Copy link
Member

@WardenGnaw WardenGnaw commented Dec 19, 2023

This PR updates the Docker Container Selector Dialog in Visual Studio to be themed. The following changes were done:

  • Updates VS packages since some of the newer theming was in newer packages.
  • Newer packages had new attributes that needed to be handled with MakePIAPortableTool.
  • Converted ListBox to ListView for ContainerPickerDialog and modified associated automation peers

Old:
image

New (Dark Theme):
image

New (Dark Theme) with Error:
image

New (Blue Contrast):
image

This PR updates the Docker Container Selector Dialog in Visual Studio to
be themed. The following changes were done:
- Updates VS packages since some of the newer theming was in newer
  packages.
- Newer packages had new attributes that needed to be handled with
  MakePIAPortableTool.
- Converted ListBox to ListView for ContainerPickerDialog and modified
  associated automation peers
@CarlosGuerraVz
Copy link
Member

I'm not sure this dialog needs a Maximize button, but if you do add it check how it looks when maximized, as other times I've used a WindowChrome for adding a tittle bar it causes the dialog to get slightly bigger than the screen when maximized, looking something like this:
image
A quick solution is to conditionally add a padding to the whole window whenever maximized.

Copy link
Member

@gregg-miskelly gregg-miskelly left a comment

Choose a reason for hiding this comment

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

:shipit:

@WardenGnaw WardenGnaw merged commit 4017519 into main Jan 2, 2024
6 checks passed
@WardenGnaw WardenGnaw deleted the dev/waan/themeDocker branch January 2, 2024 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement VS Visual Studio
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants