如何更改亲爱的Imgui桌子的边界大小?

发布于 2025-01-25 05:32:16 字数 199 浏览 3 评论 0原文

如何更改 的桌子的边界大小?

默认情况下,在亲爱的imgui中,表边界的厚度是1像素(如果绘制表格,可以看到这一点)。我想更改这个值。怎么办?根本可以吗?

我没有在eush_style_var()函数的枚举imguistylevar_中找到必要的字段:(

How do I change the border size for a table in Dear ImGui?

By default, in Dear ImGui, the thickness of the table borders is 1 pixel (this can be seen if you draw the table). I want to change this value. How can this be done? And is it possible at all?

I didn't find the necessary field in the enum ImGuiStyleVar_ for the Push_Style_Var() function :(

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

热鲨 2025-02-01 05:32:16

我也只是在这个...
在imgui_tables.cpp中,表Bordersize当前已修复:

static const float TABLE_BORDER_SIZE                     = 1.0f;    // FIXME-TABLE: Currently hard-coded because of clipping assumptions with outer borders rendering.

因此,您要么需要更改此值,要么在GitHub repo上提交问题/请求。

I just stumbeld upon this as well...
In imgui_tables.cpp the table bordersize is currently fixed:

static const float TABLE_BORDER_SIZE                     = 1.0f;    // FIXME-TABLE: Currently hard-coded because of clipping assumptions with outer borders rendering.

So you either need to change this value or submit a issue/request on the github repo.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文