-
-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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
Border for individual elements? #1031
Comments
Hrrr, |
Enable the border at all time and manipulate the border color with PushStyleCol(), PopStyleCol(). |
Flagged as style, when I revamp the style system some of the change would include specifying border per type of element, similarly to how you can specify background colors. |
@colesnicov Pushed changes today so you can now freely alter the border size |
Hi Omar, again :-)
Maybe it just do not understand, maybe it is a good idea for the next innovation...
Now is the moment I have encountered while trying to the highlighted button at
BeginChild
. Here are the facts:Begin (... ImGuiWindowFlags_ShowBorders)
does not display the border withBeginChild
. And their content as buttons, are also no borders ... I have also set inBeginChild
ImGuiWindowFlags_ShowBorders
.Button
orImageButton
a border, I need toBegin[Child]
set flags onImGuiWindowFlags_ShowBorders
but after that is bounded on any element, which is undesirable.Question: How to set borders for individual elements??
The text was updated successfully, but these errors were encountered: