久久久久久久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. 主站蜘蛛池模板: 黄色激情视频在线观看 | 在线观看的av网站 | 亚洲天堂网在线观看 | 欧美视频一二三区 | 校园春色综合网 | 精品久久久久久久久久久 | 在线h片| 日韩在线视频播放 | 四虎入口 | 欧美专区第一页 | 国产精品一区二区不卡 | 欧美成人综合 | 黄色成年人网站 | 黄色一级大片在线免费看国产一 | 欧美在线视频免费观看 | 日韩网站免费观看 | 性欧美8khd高清极品 | 亚洲成人免费在线 | 国产视频一二三 | 少妇bbw搡bbbb搡bbbb | 日日夜夜狠狠干 | 99精品久久久 | 日本中文字幕在线视频 | 青青国产在线 | 成人深夜福利 | 午夜你懂的 | 久久视频在线免费观看 | 久久久精品一区 | 欧美深夜福利 | www.毛片.com| 亚洲观看黄色网 | 免费三级黄色片 | 色婷婷香蕉在线一区二区 | 日韩黄色一级视频 | 中文在线字幕免费观 | 夜夜骚av| 黄色a毛片 | 成人午夜在线观看 | 精品国产欧美一区二区三区成人 | 韩日一级片 | 一区二区三区网站 |