小编Tak*_*sui的帖子

如何在猕猴桃中删除弹出标题

我一直在想是否有办法删除弹出窗口的标题栏:

由此

对此

提前致谢!

编辑:代码参考以供将来使用:

<MyPopup@Popup>:
size_hint: None, None
size: 300, 200
title: 'Close'
title_color: 0.7, 0, 0, 0.9
separator_color: 0.4, 0.4, 0.4, 1
title_align: 'center'
BoxLayout:
    orientation: 'vertical'
    padding: 5, 5, 5, 5
    cols: 2
    Label:
        color: 0.7, 0, 0, 0.9
        center_x: root.center_x
        center_y: root.center_y
        text: 'Are you sure you want to exit?'
    BoxLayout:
        size_hint: 1, 0.6
        Button:
            color: 0.7, 0, 0, 0.9
            background_color: 0.4, 0.4, 0.4, 0.05
            text: 'Yes'
            on_release: exit()
        Button:
            color: 0.7, 0, 0, 0.9
            background_color: …
Run Code Online (Sandbox Code Playgroud)

python kivy

1
推荐指数
2
解决办法
984
查看次数

标签 统计

kivy ×1

python ×1