久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

<small id='N5uO8'></small><noframes id='N5uO8'>

<tfoot id='N5uO8'></tfoot>

    1. <i id='N5uO8'><tr id='N5uO8'><dt id='N5uO8'><q id='N5uO8'><span id='N5uO8'><b id='N5uO8'><form id='N5uO8'><ins id='N5uO8'></ins><ul id='N5uO8'></ul><sub id='N5uO8'></sub></form><legend id='N5uO8'></legend><bdo id='N5uO8'><pre id='N5uO8'><center id='N5uO8'></center></pre></bdo></b><th id='N5uO8'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='N5uO8'><tfoot id='N5uO8'></tfoot><dl id='N5uO8'><fieldset id='N5uO8'></fieldset></dl></div>
    2. <legend id='N5uO8'><style id='N5uO8'><dir id='N5uO8'><q id='N5uO8'></q></dir></style></legend>
        • <bdo id='N5uO8'></bdo><ul id='N5uO8'></ul>

      1. 在 Python kivy 應用程序中使用操作欄面臨的問題

        Facing issue using Action Bar in Python kivy Application(在 Python kivy 應用程序中使用操作欄面臨的問題)

        <small id='pyPfR'></small><noframes id='pyPfR'>

        • <bdo id='pyPfR'></bdo><ul id='pyPfR'></ul>
              <tbody id='pyPfR'></tbody>
          1. <i id='pyPfR'><tr id='pyPfR'><dt id='pyPfR'><q id='pyPfR'><span id='pyPfR'><b id='pyPfR'><form id='pyPfR'><ins id='pyPfR'></ins><ul id='pyPfR'></ul><sub id='pyPfR'></sub></form><legend id='pyPfR'></legend><bdo id='pyPfR'><pre id='pyPfR'><center id='pyPfR'></center></pre></bdo></b><th id='pyPfR'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='pyPfR'><tfoot id='pyPfR'></tfoot><dl id='pyPfR'><fieldset id='pyPfR'></fieldset></dl></div>

                1. <tfoot id='pyPfR'></tfoot>

                  <legend id='pyPfR'><style id='pyPfR'><dir id='pyPfR'><q id='pyPfR'></q></dir></style></legend>
                  本文介紹了在 Python kivy 應用程序中使用操作欄面臨的問題的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我正在使用 Kivy 開發應用程序.我正在使用 Kivy ActionBar 為我的應用程序創建一個菜單欄.

                  I am working on developing an application using Kivy. I am using Kivy ActionBar for creating a menu bar for my application.

                  請參考附圖

                  我想刪除 Kivy 圖標并將其他選項(文件/編輯)移動到左側.請找到我的代碼片段.

                  I want to remove the Kivy icon and move the other options(file / edit) to the left. Please find the snippet of my code.

                  menuAcBar  = ActionBar(pos_hint={'top': 1.3})
                  menuAcView = ActionView()
                  menuAcBar.add_widget(menuAcView)
                  menuAcPrevious = ActionPrevious(with_previous=False)
                  
                  menuAcView.add_widget(menuAcPrevious)
                  menuAcView.add_widget(ActionButton(text="File"))
                  menuAcView.add_widget(ActionButton(text="Edit"))
                  menuAcView.add_widget(ActionButton(text="Documents"))
                  menuAcView.add_widget(ActionButton(text="help"))
                  
                  self.add_widget(menuAcBar)
                  

                  推薦答案

                  ActionPrevious上可以設置app_icon.docs 中略低一些.您可以為圖標的大小設置 app_icon_width/height,甚至可以使用 app_icon='' 將其刪除,但它會留下白色矩形而不是透明".保留 app_icon 并僅設置寬度和高度使其不可見.

                  Right on ActionPrevious you can set app_icon. It's a little bit lower in docs. You can set app_icon_width/height for size of the icon or even remove it with app_icon='', but it'll leave white rectangle instead of a "transparent". Leave app_icon be and set only width and height to make it invisible.

                  ?ctionPrevious 具有 ActionItem 的 minimum_width 屬性,因此您需要像這樣更改它:

                  The ?ctionPrevious has ActionItem's minimum_width property, therefore you need to change it like this:

                  menuAcPrevious = ActionPrevious(with_previous=False,
                                           app_icon=<your_image>,
                                           app_icon_width=1,
                                           app_icon_height=0,
                                           minimum_width=10,
                                           size_hint_x: None)
                  

                  似乎 ActionPrevious 留下了額外的未使用空間,即使 title=''minimum_width=1 并且您無法通過孩子訪問該死的東西因為它是 未注冊,所以我唯一的想出的是調整它的大小,這樣你就不會再看到它了:

                  It seems that ActionPrevious leaves additional unused space even if title='' and minimum_width=1 and you can't access the damn thing through children because it's unregistered, therefore the only thing I came up with is resizing it so you won't see it anymore:

                  ActionPrevious(
                      size_hint_x = None,
                      width = 0,
                      app_icon_width = 0.1,
                      with_previous = False)
                  

                  這篇關于在 Python kivy 應用程序中使用操作欄面臨的問題的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  How to make a discord bot that gives roles in Python?(如何制作一個在 Python 中提供角色的不和諧機器人?)
                  Discord bot isn#39;t responding to commands(Discord 機器人沒有響應命令)
                  Can you Get the quot;About mequot; feature on Discord bot#39;s? (Discord.py)(你能得到“關于我嗎?Discord 機器人的功能?(不和諧.py))
                  message.channel.id Discord PY(message.channel.id Discord PY)
                  How do I host my discord.py bot on heroku?(如何在 heroku 上托管我的 discord.py 機器人?)
                  discord.py - Automaticaly Change an Role Color(discord.py - 自動更改角色顏色)
                    • <tfoot id='gmLNq'></tfoot>
                        <tbody id='gmLNq'></tbody>
                      <i id='gmLNq'><tr id='gmLNq'><dt id='gmLNq'><q id='gmLNq'><span id='gmLNq'><b id='gmLNq'><form id='gmLNq'><ins id='gmLNq'></ins><ul id='gmLNq'></ul><sub id='gmLNq'></sub></form><legend id='gmLNq'></legend><bdo id='gmLNq'><pre id='gmLNq'><center id='gmLNq'></center></pre></bdo></b><th id='gmLNq'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='gmLNq'><tfoot id='gmLNq'></tfoot><dl id='gmLNq'><fieldset id='gmLNq'></fieldset></dl></div>
                        <bdo id='gmLNq'></bdo><ul id='gmLNq'></ul>

                      • <legend id='gmLNq'><style id='gmLNq'><dir id='gmLNq'><q id='gmLNq'></q></dir></style></legend>

                            <small id='gmLNq'></small><noframes id='gmLNq'>

                          1. 主站蜘蛛池模板: 亚洲电影第1页 | 一级欧美一级日韩片免费观看 | 欧美精品一二三 | 蜜桃av一区二区三区 | 精品亚洲一区二区 | 黄色网页在线观看 | 日韩视频在线一区 | 中文字幕中文字幕 | 色综合九九 | 日本免费小视频 | 一区二区三区四区在线视频 | 午夜电影福利 | 久热精品在线观看视频 | 国产一区二区三区在线看 | 日韩精品一区二区三区视频播放 | 久久av一区二区三区 | 成人在线黄色 | 日日干日日 | 欧美精品一区二区三区四区五区 | 91精品国模一区二区三区 | av激情在线 | 国产精品国产三级国产aⅴ中文 | 成人欧美一区二区三区黑人孕妇 | 成人精品福利 | 欧美综合国产精品久久丁香 | 欧美成人一区二免费视频软件 | 亚洲精品欧美精品 | 天天干天天爽 | 亚洲视频欧美视频 | 中文字幕日韩一区二区 | 精品国产乱码久久久久久闺蜜 | 亚洲一区二区精品视频 | 亚洲精品在线视频 | 欧美精品一区二区三区在线播放 | 国产日韩精品视频 | 亚洲永久精品国产 | 91在线观看网址 | 久久久91 | 久久久久久蜜桃一区二区 | 久久久久国产一区二区三区 | 亚洲精品电影网在线观看 |