mirror of
https://github.com/ocornut/imgui.git
synced 2026-11-14 19:04:44 +00:00
Any idea when horizontal scroll bar will be available? #246
Labels
No labels
accidentally closed
android
backends
bug
building
clipper
coloredit
color spaces
cplusplus
data types
demo
disabled
doc
docking
dpi
drag drop
drawing/drawlist
dropped
dx12
enhancement
focus
font/text
gallery
help wanted
idle/power saving
ime
in progress
inputs
inputtext
internals
label/id and id stack
language bindings
layout
linux/bsd
menus
multi-contexts
multi-threading
multi-viewports
nav
news/info
opengl
optimization
osx/ios
overlap
plot/graph
popups
question
scrolling
selection
settings
sliders/drags
style
tables/columns
tabs
test wanted
tools
tooltips
tree
tricks & tips
useful widgets
vulkan
web
window pos/depth
window sizing
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ocornut/imgui#246
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I was actually looking into some of that recently.
It should be quite easy to add.
There's a few problems to take care of, e.g. some clipping optimisations for huge block of texts are skipping on text width calculation. Scrolling is easy and free but calculating accurate size to have a reference point of how big is the contents, can sometimes be costly.
Note that you can easily hack some form of manual scrolling (without scrollbar) by positioning the cursor.
e.g.
Thanks! I ll give it a try.
On 20 July 2015 at 03:55, omar notifications@github.com wrote:
Best Regards
Nicholas Messaritis
OK pretty much done with that.
The horizontal scrollbar is always off by default and has to be enabled using ImGuiWindowFlags_HorizontalScrollbar.
You can call SetNextWindowContentWidth(width) before Begin() to specify a desired width.
The change had more side-effects than effects, had to change a few things but it may introduce new bugs.
@ocornut you are amazing... thank you!
@ocornut WOW!! Thanks! thanks!
Looks cool. I will upgrade my code tonight :) Thanks a lot
https://www.facebook.com/2dleveleditor/?ref=aymt_homepage_panel