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

Update ScrollBar thumb template to use ThemeResource instead of StaticResource #6686

Merged
merged 1 commit into from
Aug 11, 2023

Conversation

StephenLPeters
Copy link
Contributor

This Resource isn't overrideable in its current state and this change allows terminal to change the width of their scrollbars microsoft/terminal#9218

@ghost ghost added the needs-triage Issue needs to be triaged by the area owners label Feb 7, 2022
@StephenLPeters
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@@ -743,7 +743,7 @@
Background="{ThemeResource ScrollBarPanningThumbBackground}"
BorderBrush="{ThemeResource ScrollBarThumbBorderBrush}"
Template="{StaticResource HorizontalThumbTemplate}"
Height="{StaticResource ScrollBarHorizontalThumbMinHeight}"
Height="{ThemeResource ScrollBarHorizontalThumbMinHeight}"
MinWidth="{StaticResource ScrollBarHorizontalThumbMinWidth}"
Copy link
Contributor

Choose a reason for hiding this comment

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

How about changing this to ThemeResource as well?

@@ -782,7 +782,7 @@
Background="{ThemeResource ScrollBarPanningThumbBackground}"
BorderBrush="{ThemeResource ScrollBarThumbBorderBrush}"
Template="{StaticResource VerticalThumbTemplate}"
Width="{StaticResource ScrollBarVerticalThumbMinWidth}"
Width="{ThemeResource ScrollBarVerticalThumbMinWidth}"
MinHeight="{StaticResource ScrollBarVerticalThumbMinHeight}"
Copy link
Contributor

Choose a reason for hiding this comment

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

How about changing this to ThemeResource as well?

@StephenLPeters StephenLPeters added area-Resources area-ScrollBar team-Controls Issue for the Controls team and removed needs-triage Issue needs to be triaged by the area owners labels Mar 4, 2022
@bpulliam
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@bpulliam bpulliam force-pushed the user/stpete/EnableThumbResourcesOverrides branch from ada0838 to 77a603b Compare December 2, 2022 15:58
@bpulliam
Copy link
Contributor

bpulliam commented Dec 2, 2022

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ojhad
Copy link
Contributor

ojhad commented Aug 8, 2023

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ojhad
Copy link
Contributor

ojhad commented Aug 9, 2023

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ojhad
Copy link
Contributor

ojhad commented Aug 11, 2023

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ojhad ojhad closed this Aug 11, 2023
@ojhad ojhad reopened this Aug 11, 2023
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Aug 11, 2023
@ojhad ojhad merged commit b695a2b into main Aug 11, 2023
@ojhad ojhad deleted the user/stpete/EnableThumbResourcesOverrides branch August 11, 2023 21:28
@bpulliam bpulliam removed the needs-triage Issue needs to be triaged by the area owners label Jan 12, 2024
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.

4 participants