A tab container for foobar2000 v2, for Columns UI and Default UI: one tab per panel or element.
- Works in both UIs: a splitter in Columns UI and a container element in Default UI, with the same strip, menus and settings.
- Strip on any side, with rotated titles on the left and right if you like.
- Your look: underline, pill, tab, outlined tab or text-only indicator, chips (in the text colour, the accent or your own colour, any strength), corner radius, tab width and alignment, spacing, hover styles (the active tab has its own), text colours, a tab font with fallbacks, and transparency with an adjustable background opacity.
- Icons on tabs (Segoe Fluent Icons or emoji), or icon-only tabs.
- Accent colour from the UI, a custom colour or the playing track's cover, and a strip background that can be tinted with it. Colours, fonts and dark mode follow your Columns UI or Default UI settings.
- Titles: the panel's own name, your text, or title formatting.
- Switching by click, mouse wheel, Ctrl+Tab, the tab list, or automatically when playback starts or stops or with every new track, with title formatting to pick the tab if you like.
- Reorder, hide, pin and multi-select tabs; drag a selection as one block. Pinned tabs stay in view at the start or the end of the strip.
- Tabs that come and go: a tab can be in the strip only while title formatting for the playing track gives some text (a video tab for videos only, say).
- Auto-hide: the strip shows when the pointer reaches the edge.
- Light on resources: a panel is created the first time its tab is shown, hidden tabs do no work, and nothing runs while idle.
- A help page: every setting, title formatting and searching, with examples, opened from Configure.
Requires foobar2000 v2 on Windows 7 or later, 32-bit or 64-bit (the package contains both). Columns UI is optional.
- Download
foo_bettertabs.fb2k-componentfrom the latest release. - Double-click it, or in foobar2000 open Preferences > Components > Install..., and restart.
- Add it: in Columns UI, Preferences > Display > Columns UI > Layout, add Splitters > Better Tabs and add panels under it; each panel is a tab. In Default UI, enable View > Layout > Enable layout editing mode, then right-click > Replace UI Element... > Containers > Better Tabs. It starts with one empty tab; click it to pick an element.
Settings are under Configure... in the strip menu (in Columns UI also on the Layout page). They belong to each container, preview live, and Cancel undoes them. The dialog doesn't block foobar2000, so you can hover and click the tabs while you try settings. Hover over a setting's label to see what it does and its range. Help (or F1) opens the help page that comes with Better Tabs at the section for the page you are on.
| Key / mouse | Action |
|---|---|
| Click a tab | Show it, and bring the keyboard focus into the container |
| Ctrl+click / Shift+click | Add a tab to or take it out of the selection / select a range |
| Click empty strip space, Esc | Clear the selection |
| Mouse wheel | Previous / next tab |
| Ctrl+Tab / Ctrl+Shift+Tab | Next / previous tab, while the focus is inside the container (a click on the strip brings it there) |
| Middle click | Nothing, or hide the tab (Input page) |
| Drag a tab | Reorder; a selected tab brings the whole selection along; Esc cancels |
| Right-click the strip | Tab list, rename, hide, move, pin, show hidden tab, Appearance, Configure |
In Default UI layout editing mode, right-click the strip for Add new tab..., Paste as new tab and, on a tab, Replace tab's element..., Copy tab's element, Rename tab... and Remove tab. Right-click an element inside for Rename tab..., Remove tab and Configure Better Tabs....
- Tab titles: Rename with an empty title goes back to the panel's own name. Title formatting is optional per tab; Help beside the title (Tabs page, Rename) opens the help on titles and title formatting.
- Icons: enter a code point (such as
E8D6) or paste a character. Copy Segoe Fluent Icons from Character Map and emoji from Win+. (period). - Pinned tabs keep to the start or the end of the strip (the top or the bottom of a side strip) and stay in view when the other tabs overflow into the chevron. Pin them from the tab menu or on the Tabs page. They move only among themselves: dragging, the menu and Move up/down stop at the edge of the group, and in Columns UI's Layout page a panel moved out of its group goes back to it. A pinned tab without an icon shows a pin unless Show a pin on pinned tabs is off (Look page or the Appearance menu).
- Show only if (Tabs page): title formatting for the playing track, or for no track while
stopped. The tab is in the strip only while it gives some text (spaces don't count); empty
means always.
$if(%isplaying%,1)shows a tab during playback,$if(%isplaying%,,1)only when stopped. It is checked when playback stops, pauses, goes to another track or the track's tags change, not as the playback time runs. A tab it hides keeps its place and comes back by itself, so Show hidden tab does not list it. If it was the shown tab, its neighbour is shown instead; if no tab is left the container stays empty until one comes back. - Tabs that follow playback (Tabs page): Switch to it When playback starts (play, next,
previous, a double-clicked track) or On every new track (the next track of a playlist too,
and the one foobar2000 resumes as it starts), and When playback stops. Only if is title
formatting for the new track, or for the track that stopped: the switch happens only if it
gives some text. When several tabs want the switch, one whose Show only if or Only if is set
wins over one without; among equals the shown tab stays if it is one of them, otherwise the
first in the strip wins. Tabs that are not in the strip take no part. Say Video, Lyrics and
Slideshow all switch on every new track, Video with Show only if
[$info(video_codec)]and Lyrics with Only if$if($stricmp(%genre%,Instrumental),,1): videos bring up Video, other songs Lyrics and instrumentals Slideshow. A video with words keeps Lyrics if that is the tab shown: both fit. Add Playlist and Properties, both When playback stops, Properties with Only if$if(%genre%,,1): a track without a genre brings up Properties as it stops, any other track Playlist. - Size in Columns UI: the container is at least as large as its largest panel minimum and can grow to the largest panel maximum. A panel with a smaller maximum keeps its own size at the top left instead of shrinking the whole container (Columns UI's Tab stack uses the smallest maximum).
- Missing elements show (missing element) and keep their settings, so they come back with their component. Removing the last tab leaves an empty one.
- In Columns UI the strip menu also has the panel's own items, and FCL export and import keep the container's settings.
- Auto-hide keeps the strip while its menu is open, while you drag a tab and while it has the keyboard focus.
- Transparency only shows something when your layout draws a background behind the strip, such as a Columns UI theme. The auto-hide strip shown over the panel stays solid. If the container changes its background (a new cover, say), it has to repaint the panels inside it; the strip picks up the new background on that repaint.
- Text colours: the Colours page sets the titles of the other tabs and of the active (and selected) tabs; the Hover page sets a hovered tab's title, separately for the active tab. Colours you pick are used as they are. "Brightens" on the active tab lightens towards white, which does nothing to white text.
- Performance log: Preferences > Advanced > Display > Better Tabs: log performance to the console.
Visual Studio 2022 or later with the C++ desktop workload and ATL, next to these folders:
SDK-2026-10-01 (foobar2000 SDK, with the Columns UI SDK inside as columns_ui-sdk), wtl
(WTL 10) and fb2k-common.
build.bat [Release|Debug] [x64|Win32]builds the DLL.test\build_tests.batbuilds and runs the tests (no foobar2000 needed).package.batbuilds both platforms intodist\foo_bettertabs.fb2k-component, with the help page fromdocs\(PDBs indist\symbols, needs 7-Zip).
The Visual Studio and 7-Zip paths are at the top of the batch files.
My other components:
- foo_enhancedplaylisttabs: playlist tabs built on the same strip.
- foo_filetree: a folder tree panel.
- foo_onscreendisplay: an on-screen display.
