-
-
Notifications
You must be signed in to change notification settings - Fork 10.6k
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 scroll bug #692
Comments
Generally I seem to be unable to put a horizontal scrollbar on a multiline inputtext window inside a TreeNode, tried a lot already, from setting the width manually to trying to enforce it on a Begin/End-ChildRegion. |
@v71 please clarify because I don't understand what you are saying there, and I couldn't see an obvious bug with neither vertical or horizontal scrollbar in the Log demo (tried just now). @MINIONBOTS ?? I don't understand what you are talking about either or how it is related. Please clarify and possibly in a different topic because it seem unrelated. Please provide screenshots and clear repro steps or code. Thanks! |
I found the bug when i tried to display a text using the log window which comes with the examples. |
@v71 This is what I am doing but I don't see a problem with the horizontal scrollbar. |
Try to shrink the window couple of times , as soon as i get home i will record a vide |
Ok i managed to record a short video, ( there is 10 mb limit ) , it happens when i schrink a couple of times the window , sometimes it works at the first run, but it sistematiccaly presents itself everytime i run the code.Sorry for the zip i have only an avi recorded nad github doesn't support it. |
Well
|
Oh yes, this is a window i created for my engine , it shows the log, i have used the exact code coming from the example file , here it is :
As you can see i took as it is from the example , i thought it was me doing somethign wrong so i |
There is another way to spot the bug, in the log example, shrink the window to nearly make the scroll view disapear, then enlarge it again , but do not enlarge so that you can see all the lines, if you do this , the bug shows up. |
OK i have managed to see a repro now. It looks like a clipping bug in the large-text path of TextUnformatted(). |
Fixed now. It was a stupid bug with TextUnformatted() handling of large-text clipping with horizontal scrolling. Thanks and sorry for taking a while to see it ! |
I don't know if this has already been discussed but i think there is a bug in the horizontal scrollview, you can test in the demo, open the log and try to scroll the window, the scroll bar doesn't reach the end and resets itself to zero i tried to use flags combinations to no avail.
The text was updated successfully, but these errors were encountered: