overlay: make tabs bigger (#764)

This commit is contained in:
bicarus
2026-06-17 01:14:50 -07:00
committed by GitHub
parent b6f886a7c5
commit 301e15c44d
4 changed files with 67 additions and 10 deletions
+5
View File
@@ -21,4 +21,9 @@ namespace ImGui {
bool DeleteButton(const std::string& tooltip);
bool ClearButton(const std::string& tooltip);
void InvisibleTableRowSelectable();
// Config tab bar with extra label padding and uniform, centered tab widths.
// Wrap items in BeginPaddedTabItem between BeginPaddedTabBar/EndTabBar.
bool BeginPaddedTabBar(const char* str_id, ImGuiTabBarFlags flags = 0);
bool BeginPaddedTabItem(const char* label);
}