Repository navigation
Fix installer background for bundles - #68930
Merged
Merged
Conversation
This was referenced Aug 31, 2026
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
Updates the WiX thmutil theme definitions for the ASP.NET Core bundles to match the .NET SDK’s installer banner styling, including a solid-colored title background and updated banner colors.
Changes:
- Update
WindowBannerFontto use white foreground text and adjusted banner background color. - Replace the banner
<Text>usage with layered<Label>controls to get an opaque title background and centered title/subtitle rendering. - Add explanatory comments describing the “width=0” layout behavior and the multi-control overlay approach.
File summaries
| File | Description |
|---|---|
| src/Installers/Windows/WindowsHostingBundle/bundle.thm | Updates banner font colors and replaces the title/subtitle header with layered labels and centered alignment. |
| src/Framework/App.Runtime/bundle/bundle.thm | Updates banner font colors and replaces the single title header with layered labels and centered alignment. |
Review details
- Files reviewed: 2/2 changed files
- Comments generated: 2
- Review effort level: Lite
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
15
to
+19
| <ImageControl Name="DotNetLogo" X="12" Y="-48" Width="124" Height="124" ImageFile="DotNetLogo_256x.png" Visible="yes" /> | ||
| <Text X="80" Y="12" Width="-12" Height="40" FontId="WindowBannerFont" Visible="yes" DisablePrefix="yes">#(loc.Title)</Text> | ||
| <Text X="80" Y="40" Width="-12" Height="40" FontId="WindowBannerFont" Visible="yes" DisablePrefix="yes">#(loc.SubTitle)</Text> | ||
|
|
||
| <!-- A width of 0 extends the control to the right of the window. The first label will render an opaque rectangle using | ||
| the background color of the specified font. The subsequent labels overlay the title and subtitle text. --> | ||
| <Label Name="TitleBackground" X="0" Y="0" Width="0" Height="76" FontId="WindowBannerFont" Visible="yes" DisablePrefix="yes" /> |
Comment on lines
+16
to
+20
|
|
||
| <!-- A width of 0 extends the control to the right of the window. The first label will render an opaque rectangle using | ||
| the background color of the specified font. The second label overlays the title text. This is necessary since | ||
| the vertical offset of the text cannot be specified. --> | ||
| <Label Name="TitleBackground" X="0" Y="0" Width="0" Height="72" FontId="WindowBannerFont" Visible="yes" DisablePrefix="yes" /> |
joeloff
approved these changes
Aug 31, 2026
This file contains hidden or 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
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.
Mimic what dotnet/sdk does for installer backgrounds