Skip to content

Fix installer background for bundles - #68930

Merged
wtgodbe merged 1 commit into
mainfrom
wtgodbe/FixBundleBackgrounds
Sep 2, 2026
Merged

wtgodbe merged 1 commit into
mainfrom
wtgodbe/FixBundleBackgrounds

Conversation

@wtgodbe

@wtgodbe wtgodbe commented Aug 31, 2026 •

Copy link
Copy Markdown
Member

Mimic what dotnet/sdk does for installer backgrounds

image

Copilot AI lite review requested due to automatic review settings August 31, 2026 21:51
@wtgodbe
wtgodbe requested a review from a team as a code owner August 31, 2026 21:51

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 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 WindowBannerFont to 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" />
@wtgodbe
wtgodbe merged commit d3b9b03 into main Sep 2, 2026
32 checks passed
@wtgodbe
wtgodbe deleted the wtgodbe/FixBundleBackgrounds branch September 2, 2026 16:58
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Sep 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants