Comments (1)
The label width (and item spacing between the combo and the label) gets added to the item's total width, which then keeps pushing the window's content size.
Disable the label to prevent the window from growing forever:
ImGui::Combo("##unique_id_here", ...);
(You can read more about the ##
syntax here: https://github.com/ocornut/imgui/blob/master/docs/FAQ.md#q-how-can-i-have-widgets-with-an-empty-label)
from imgui.
Related Issues (20)
- ImGui::InputText not rendering key press using opengl HOT 4
- Missing right & bottom table outer borders when inside a window without padding (1.90 regression)
- Question: PushStyleColor HOT 2
- Clear InputText box after pressing Enter HOT 2
- impossible to compile a directx12 or any other example on windows 11, vs code, mingw, gcc for windows installed. does someone manage to launch the example_win32_directx12 for instance ? HOT 1
- Window content is blurry on Wayland with fractional scaling HOT 2
- Design rational for requireing a non-empty string as window title HOT 3
- Vulkan 1.3.280.0 validation error HOT 2
- Auto-resize functionality with Tables API HOT 4
- Selectable in nested table HOT 2
- Make sure InputText is selected without breaking buttons HOT 3
- Combo jitters inside Table when _SizingStretchProp is set HOT 4
- How to assign different window paddings in one window? HOT 1
- OpenGL Polygon Mode warning in Windows Opengl ES 3.0 HOT 5
- Image buttons - loop - no response - always false HOT 2
- Work around for peristent Centos/RHEL GLFW mouse offset issue? HOT 1
- ProgressBar with fraction == NaN leads to gigantic allocation HOT 1
- Resizing Widgets with SDL and Ogre HOT 1
- ImGui resizes itself to git content when setting size to 0. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imgui.