Christian Fillion

Results 66 comments of Christian Fillion

> Different fonts appear different in sizes even we use same size value for them. See #4780: ImGui uses the total `ascent - descent` as the height instead of just...

f5cdf9515aceca2e91f9a33b74267e0cf5a5b7e8 states: > Let's avoid accidentally devices being owned by non-system user/group. ...which completely ignores the cases where devices are purposely owned by a non-system user/group, which are now broken.

> I recommend to use uaccess tag, or create a system group for the device and join regular users who want to use the device to the system group. If...

Also, since missing glyphs are cached per-baked font, it unnecessarily retries every time the font size changes (eg. auto-scaling). (Requiring the backend's fallback hook to do its own caching on...

Images, like text, don't have an item ID (0). You can use `ImGui::ImageButton` instead to create an interactive item for `SetItemKeyOwner` to act upon. ```cpp ImGui::PushStyleVar(ImGuiStyleVar_FramePadding, {0, 0}); ImGui::ImageButton("foo", 0,...

`ImGui::PushStyleColor(ImGuiCol_Button, 0)` (+ `ButtonActive` and `ButtonHovered`) with a matching Pop surrounding the image(s).