将多个 UI 组件中的字体权重从原有的 `MEDIUM`、`NORMAL`、`BOLD` 等值统一修改为 `CHINA`, 以确保界面文本能够正确使用中文字体进行显示。同时调整了部分字号和标签样式,提升中文环境下的展示效果。 |
||
|---|---|---|
| .. | ||
| lib | ||
| widgets | ||
| README.md | ||
| reset.py | ||
| setup.py | ||
| spinner.py | ||
| text.py | ||
| updater.py | ||
ui
The user interfaces here are built with raylib.
Quick start:
- set
SHOW_FPS=1to show the FPS - set
STRICT_MODE=1to kill the app if it drops too much below 60fps - set
SCALE=1.5to scale the entire UI by 1.5x - https://www.raylib.com/cheatsheet/cheatsheet.html
- https://electronstudio.github.io/raylib-python-cffi/README.html#quickstart
Style guide:
- All graphical elements should subclass
Widget.- Prefer a stateful widget over a function for easy migration from QT
- All internal class variables and functions should be prefixed with
_