Skip to content

Display logo beside status area: path fix + top-aligned layout#1

Merged
pbosetti merged 4 commits into
mainfrom
copilot/display-logo-in-status-line
Mar 2, 2026
Merged

Display logo beside status area: path fix + top-aligned layout#1
pbosetti merged 4 commits into
mainfrom
copilot/display-logo-in-status-line

Conversation

Copilot AI commented Mar 2, 2026

Copy link
Copy Markdown
Contributor

The logo path was wrong and the layout placed the logo inline with only the first status line rather than top-aligned beside both footer lines.

Changes

  • Path: ../images/logo_white.png../share/images/logo_white.png
  • Layout: Wrap both footer text lines in BeginGroup()/EndGroup() so the logo sits top-aligned to the left of the entire 2-line status block
if (logo_texture != 0) {
  ImGui::Image(...);
  ImGui::SameLine();
  ImGui::BeginGroup();
}
ImGui::Text("Status: ...");
ImGui::TextWrapped("Command: ...");
if (logo_texture != 0) {
  ImGui::EndGroup();
}
Original prompt

Work on a new branch called develop.
If the directory ../images wrt the executable there is a logo_white.png file, then display it at the beginning of the status line in the main window of the app, with max height of 30 pixels. If the image is missing keep current behavior


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 2 commits March 2, 2026 16:47
Co-authored-by: pbosetti <53605+pbosetti@users.noreply.github.com>
Co-authored-by: pbosetti <53605+pbosetti@users.noreply.github.com>
Copilot AI changed the title [WIP] Add logo display to status line if available Display logo_white.png at the beginning of the status line Mar 2, 2026
Co-authored-by: pbosetti <53605+pbosetti@users.noreply.github.com>
Copilot AI changed the title Display logo_white.png at the beginning of the status line Display logo beside status area: path fix + top-aligned layout Mar 2, 2026
@pbosetti
pbosetti marked this pull request as ready for review March 2, 2026 17:15
@pbosetti
pbosetti merged commit 9f2ea63 into main Mar 2, 2026
3 checks passed
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.

2 participants