赞 | 154 |
VIP | 0 |
好人卡 | 0 |
积分 | 245 |
经验 | 0 |
最后登录 | 2024-5-16 |
在线时间 | 5077 小时 |
Lv5.捕梦者
- 梦石
- 0
- 星屑
- 24477
- 在线时间
- 5077 小时
- 注册时间
- 2016-3-8
- 帖子
- 1623
|
本帖最后由 alexncf125 于 2022-5-12 21:36 编辑
Window_NumberInput
def update_placement
self.width = Graphics.width#@digits_max * 20 + padding * 2
self.height = fitting_height(4)#(1)
self.x = 0#(Graphics.width - width) / 2
def item_rect(index)
Rect.new(index * 20 + 20, 0, 20, line_height)
|
|