andlabs / andlabs/libui

uiWindowSetChild(uiArea) does not fill the window on GTK+

未关闭
#207 11 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C
星标
10.9k
派生
612
PR 合并指标
30 天内没有已合并 PR

描述

Hello, either I am doing something wrong, or drawing to an area no longer works on linux.

I created [this](https://gist.github.com/FlyingGaz/e361978716e8e607a05de846ad6387a8) example which is supposed to draw a red triangle.
When running the example with the current version of libui, I only get an empty window.
If I switch to [this](https://github.com/andlabs/libui/tree/156c3584f706753e892be77338d1b9c2cb669c5b) older version of libui, I get the expected result.

I'm running Archlinux with the current version of GTK3 (3.20.9-1).

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。