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 The "Generate Overrides" Dialog #62244

Merged
merged 2 commits into from
Jul 1, 2022

Conversation

ryzngard
Copy link
Contributor

@ryzngard ryzngard commented Jun 29, 2022

fixes #61812

We were in a mix of themed and unthemed. This PR themes the entire dialog for use.

Original (Before Fix)

image

Blue Theme

image

Dark Theme

image

@ryzngard ryzngard marked this pull request as ready for review June 29, 2022 17:59
@ryzngard ryzngard requested a review from a team as a code owner June 29, 2022 17:59
Copy link
Member

@Youssef1313 Youssef1313 left a comment

Choose a reason for hiding this comment

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

Change signature and add parameter have the same issue:

image

It would be great if they're fixed as well.

Copy link
Member

@Youssef1313 Youssef1313 left a comment

Choose a reason for hiding this comment

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

Also extract interface:

image

and extract base class

image

and generate type

image

@@ -56,7 +63,8 @@
<GroupBox x:Uid="MemberSelectionGroupBox"
Margin="0, 9, 0, 0"
Grid.Row="1"
Header="{Binding ElementName=dialog, Path=PickMembersTitle}">
Header="{Binding ElementName=dialog, Path=PickMembersTitle}"
Foreground="{DynamicResource {x:Static vs:ThemedDialogColors.HeaderTextBrushKey}}">
Copy link
Member

Choose a reason for hiding this comment

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

Is there a Theme color we should be using for the box Border?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It seems to be automatically done with vs:ThemedDialogStyleLoader.UseDefaultThemedDialogStyles="True"

@ryzngard
Copy link
Contributor Author

@Youssef1313 I'm working on themeing across the board. See an updated #55971 for some of these. I think what's left will be

  • Generate Type
  • Change Signature
  • Add Parameter

I'll get those last 3 in another PR after #55971 gets in

@ryzngard ryzngard enabled auto-merge (squash) July 1, 2022 16:55
@ryzngard ryzngard merged commit 1fcfda5 into dotnet:main Jul 1, 2022
@ghost ghost added this to the Next milestone Jul 1, 2022
@ryzngard ryzngard deleted the issues/61812_scrollbar_color branch July 1, 2022 20:18
333fred added a commit that referenced this pull request Jul 5, 2022
…ures/semi-auto-props

* upstream/main: (887 commits)
  Ensure elastic trivia for reusable syntax in field generator (#62346)
  Fix typos in the incremental generators doc (#62343)
  Theme The "Generate Overrides" Dialog (#62244)
  Walk green-nodes in incremental-generator attribute-finding path (#62295)
  Cache the hash in compilation options (#62289)
  Respect dotnet_style_namespace_match_folder (#62310)
  Remove unreachable condition
  Specify builder capacities in incremental generation to avoid wasted scratch arrays. (#62285)
  Skip the test (#62287)
  Revert "Revert "Add Move Static Member To Existing Type (#61519)"" (#62284)
  Highlight the search term in the options page (#61301)
  Synch handlers with fix (#62209)
  Disable integration tests
  Fix
  Set capacity of builder to avoid expensive garbage.
  Add public APIs for opened and closed event handling for non-source documents
  Handle possible null symbols in `getAttributeTarget` (#62137)
  Perform a lookahead rather than a parsing attempt in order to determine if current token starts a conversion operator declaration. (#62240)
  Fix a race in CachingDictionary. (#62248)
  Simplify
  ...
@allisonchou allisonchou modified the milestones: Next, 17.4 P1 Jul 26, 2022
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.

Scrolling Bars in Refactoring Popup Have Wrong Color
5 participants