We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug When the network variable is added to a horizontal config it will always appear on a new row and not inline.
List relevant hardware/software information
To Reproduce Steps to reproduce the behavior:
Expected behavior I would expect the network information to appear in the same horizontal bar if space is available
Screenshots Network forced to new row If network changed to code below
Additional context Changed the hub_elements.cpp to the following for fix
void HudElements::network() { #ifdef __linux__ if (HUDElements.net && HUDElements.net->should_reset) HUDElements.net.reset(new Net); if (!HUDElements.net) HUDElements.net = std::make_unique<Net>(); for (auto& iface : HUDElements.net->interfaces){ ImguiNextColumnFirstItem(); HUDElements.TextColored(HUDElements.colors.network, "%.8s", iface.name.c_str()); ImguiNextColumnOrNewRow(); right_aligned_text(HUDElements.colors.text, HUDElements.ralign_width, "%.0f", iface.txBps / 1000.f); ImGui::SameLine(0,1.0f); ImGui::PushFont(HUDElements.sw_stats->font1); HUDElements.TextColored(HUDElements.colors.text, "KB/s %s", ICON_FK_ARROW_UP); ImGui::PopFont(); ImguiNextColumnOrNewRow(); right_aligned_text(HUDElements.colors.text, HUDElements.ralign_width, "%.0f", iface.rxBps / 1000.f); ImGui::SameLine(0,1.0f); ImGui::PushFont(HUDElements.sw_stats->font1); HUDElements.TextColored(HUDElements.colors.text, "KB/s %s", ICON_FK_ARROW_DOWN); ImGui::PopFont(); } #endif }
The text was updated successfully, but these errors were encountered:
Your changes look good, feel free to make a PR
Sorry, something went wrong.
No branches or pull requests
Describe the bug
When the network variable is added to a horizontal config it will always appear on a new row and not inline.
List relevant hardware/software information
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I would expect the network information to appear in the same horizontal bar if space is available
Screenshots
Network forced to new row
If network changed to code below
Additional context
Changed the hub_elements.cpp to the following for fix
The text was updated successfully, but these errors were encountered: