mirror of
https://github.com/ocornut/imgui.git
synced 2026-11-01 05:10:41 +00:00
How to create a indeterminate progress bar? #5370
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#5370
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 want to create a indeterminate progress bar in IMGUI similar to the image below:

Is there any way to achieve that?
Have you tried to type “indeterminate progress bar” into the search bar? Because when I do I find #5316.
Without those details and labelling you can implement one using the same primitive used by that function.
Thanks for your advice. However, instead of implementing one by the user, I'd like to suggest turning the indeterminate progress bar into an OFFICIAL feature. It would make things easier without taking too much time modifying the code.
We'll very probably merge something based #5316 it is a matter of deciding how to design the style and API (in term of relationship between speed, size and thickness) but the point and power of dear imgui is we should empower users to do those things themselves.
You can and should create widgets without modifying dear imgui code.
Closing as answered + linking to #5316 for future updates.