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
ProductionTabsWidget: customize scroll decorations #20635
Merged
PunkPun
merged 4 commits into
OpenRA:bleed
from
michaeldgg2:ProductionTabsWidget-CustomizeScrollDecorations
Jan 27, 2023
Merged
ProductionTabsWidget: customize scroll decorations #20635
PunkPun
merged 4 commits into
OpenRA:bleed
from
michaeldgg2:ProductionTabsWidget-CustomizeScrollDecorations
Jan 27, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This moves initialization of Initialize getters for left/right arrow image from constructor Initialize method making it possible to override fields Decorations, DecorationScrollLeft and DecorationScrollRight after widget creation.
michaeldgg2
force-pushed
the
ProductionTabsWidget-CustomizeScrollDecorations
branch
from
January 25, 2023 12:13
39b8496
to
9136fa6
Compare
dragunoff
suggested changes
Jan 25, 2023
michaeldgg2
force-pushed
the
ProductionTabsWidget-CustomizeScrollDecorations
branch
from
January 26, 2023 11:00
fa9cbb1
to
372d576
Compare
PunkPun
reviewed
Jan 26, 2023
OpenRA.Mods.Common/UpdateRules/Rules/20230126/ProductionTabsWidgetAddTabButtonCollection.cs
Outdated
Show resolved
Hide resolved
michaeldgg2
force-pushed
the
ProductionTabsWidget-CustomizeScrollDecorations
branch
from
January 26, 2023 13:36
372d576
to
cbea814
Compare
…t scroll button and tab buttons.
michaeldgg2
force-pushed
the
ProductionTabsWidget-CustomizeScrollDecorations
branch
from
January 26, 2023 16:41
cbea814
to
5b39e87
Compare
PunkPun
approved these changes
Jan 26, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
dragunoff
approved these changes
Jan 27, 2023
michaeldgg2
deleted the
ProductionTabsWidget-CustomizeScrollDecorations
branch
February 15, 2023 21:07
michaeldgg2
restored the
ProductionTabsWidget-CustomizeScrollDecorations
branch
February 15, 2023 21:07
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Makes it possible to customize left/right arrow buttons and panels for left/right buttons and tab buttons.
Other changes:
AddFactionSuffixLogic
adds suffix to bothTabButton
andArrowButton
and also forDecorations
fields onProductionTabsWidget
Adding faction suffix to
Decorations
doesn't break CNC mod aschrome.yaml
defines bothscrollpanel-decorations-nod
andscrollpanel-decorations-gdi
.Fixes #20619.