Skip to content
New issue

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

Horizontal scrolling for tables doesn't work. #47

Open
CncGpp opened this issue Mar 15, 2023 · 1 comment
Open

Horizontal scrolling for tables doesn't work. #47

CncGpp opened this issue Mar 15, 2023 · 1 comment

Comments

@CncGpp
Copy link

CncGpp commented Mar 15, 2023

Horizontal scrolling for tables doesn't work. It is rendered double-width, overlayed on the last line and is not clickable/scrollable with the mouse.

Senza titolo

Tested with the lasta ImTui commit both on Windows (MSVC vs2019) & Ubuntu WSL in the Windows Terminal.

@boeken-mmi
Copy link

boeken-mmi commented Aug 28, 2023

I was able to fix this by adding

   ImGui::GetStyle().ScrollbarSize = 1;
   ImGui::GetStyle().GrabMinSize = 1.0f;

after the ImGui_ImplText_Init(); call.
This added a Space right to the vertical scroll bar, but it fixed the content alignment and the dragging of the horizontal one.

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

No branches or pull requests

2 participants