马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?立即注册
×
本帖最后由 莫小奇 于 2021-8-10 12:36 编辑
[RenPy] 纯文本查看 复制代码 vpgrid cols 1 scrollbars "vertical" ymaximum 440 ypos 20 mousewheel True:
textbutton "主线":
margin(14, 10)
xminimum 180
text_size 30
text_color "#CFB53B"
text_outlines [(1, "#00000080", 1, 1)]
action [Function(showSkillTree, num = 1)]
textbutton "支线1":
margin(14, 10)
text_size 30
text_color "#CFB53B"
text_outlines [(1, "#00000080", 1, 1)]
action [Function(showSkillTree, num = 2)]
textbutton "支线2":
margin(14, 10)
text_size 30
text_color "#CFB53B"
text_outlines [(1, "#00000080", 1, 1)]
action [Function(showSkillTree, num = 2)]
显而易见,我是在vpgrid中添加了3个textbutton按钮
我想要点击每个按钮的时候改变他的样式,该怎么做呢?
求dalao解答
|