mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-09-27 08:53:51 +08:00
cabana: remove message table outer border (#38907)
This commit is contained in:
@@ -365,8 +365,8 @@ void MessagesWidget::drawTable() {
|
||||
const bool multiple_lines = settings.multiple_lines_hex;
|
||||
|
||||
const ImGuiTableFlags flags = ImGuiTableFlags_Sortable | ImGuiTableFlags_Resizable | ImGuiTableFlags_Reorderable |
|
||||
ImGuiTableFlags_ScrollX | ImGuiTableFlags_ScrollY | ImGuiTableFlags_Borders |
|
||||
ImGuiTableFlags_Hideable;
|
||||
ImGuiTableFlags_ScrollX | ImGuiTableFlags_ScrollY | ImGuiTableFlags_BordersInner |
|
||||
ImGuiTableFlags_Hideable | ImGuiTableFlags_PadOuterX;
|
||||
// with ScrollX a stretch column needs an explicit inner width
|
||||
const float bytes_width = bytesCellSize(bytes_section_bytes_, multiple_lines).x;
|
||||
const float avail_width = ImGui::GetContentRegionAvail().x - (has_scrollbar_y_ ? ImGui::GetStyle().ScrollbarSize : 0);
|
||||
|
||||
Reference in New Issue
Block a user