其实也没啥 #4

Merged
shenjackyuanjie merged 2 commits from SRtool2 into main 2021-11-06 14:32:11 +08:00
2 changed files with 2 additions and 0 deletions
Showing only changes of commit 6eb528ece0 - Show all commits

View File

@ -70,10 +70,12 @@ class InputBox(widgets.WidgetBase):
self.外框距离 = out_line
self._输入框 = Label(x=x + out_line, y=y + out_line,
width=width, height=height,
color=text_color,
font_name=font_name, font_size=font_size,
batch=batch, group=group,
text=message)
self._外框 = Rectangle(x=x-out_line, y=y-out_line,
color=out_line_color,
width=width + (out_line * 2), height=height + (out_line * 2),
batch=batch, group=group)
self._光标 = Rectangle(x=x+out_line, y=y+out_line,