Repository navigation
Add a Heading item: a separator with a label - #2588
Open
emilioheredia-source wants to merge 1 commit into
Open
emilioheredia-source wants to merge 1 commit into
emilioheredia-source wants to merge 1 commit into
Conversation
This was referenced Nov 15, 2026
The menu already draws a separator's label as text, which makes a good heading over a group of items. The item editor now has a Heading command for it (a separator, *heading in a custom menu). Three things that kept labelled separators from working as headings: - A labelled separator right after another separator was dropped as a double separator. A heading always stays now. - A labelled separator at the end of the menu was trimmed like any trailing separator. When the list under a heading is empty, for example with no recent programs, the heading is the last item; if it also starts a column, trimming it merged that column into the others. - In the second pane of the Classic two-column menu a labelled separator had no font or colors of its own: the skin's Main2_separator section was read only for its image and height. Its font and colors are now read like Main_separator's, falling back to the second pane's items.
emilioheredia-source
force-pushed
the
headings
branch
from
November 15, 2026 18:44
e043676 to
82c23b1
Compare
This branch has not been deployed
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.
This is 4 of 5 of the column work from #2544. It doesn't depend on the others:
Where this is going. Not this PR: this needs all five. This PR adds the headings ("Pinned", "Recent"); the extra columns, the pinned and recent lists in their own columns and the column lines come with the other PRs (example programs, pinned and recent):
What this PR does on its own
The menu already draws a separator's label as text, which makes a good heading over a group of items. But Customize Start Menu has no command for it, and three things keep a labelled separator from working as a heading (below).
This PR adds a Heading command to the item editor: a separator that shows its label (
*headingin a custom menu). Without a heading nothing changes. To keep this small it has no text options of its own; I have size, bold and italic options for headings working too, and can send them as a separate PR if they'd be useful.The default Classic with two columns menu, before and after: "Places" over the places, and "System" in place of the separator before the system items.
The three fixes:
Main2_separatorsection was read only for its image and height. Its font and colors are now read likeMain_separator's, falling back to the second pane's items.Trying it
The zip has the two settings files used for the screenshots: Settings, Backup → Load from XML file. Loading one replaces all your settings, so save yours first with Backup → Save to XML file. Both are the default Classic with two columns menu with Downloads, Music and Videos added, and recent programs on (8):
headings-before.xmlas it is,headings-after.xmlwith the two headings. The pinned and recent programs are your own.settings-examples.zip
Tested
On Windows 11 26H2 (26300), x64, with the Immersive skin:
The screenshots were taken with #2575 applied too, so the pinned Store apps show their icons.