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

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

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

      <legend id='Lpwge'><style id='Lpwge'><dir id='Lpwge'><q id='Lpwge'></q></dir></style></legend>

        • <bdo id='Lpwge'></bdo><ul id='Lpwge'></ul>

      1. 如何在 Kivy ScrollView 中滾動 GridLayout?

        How do you scroll a GridLayout inside Kivy ScrollView?(如何在 Kivy ScrollView 中滾動 GridLayout?)
        <i id='nQ8D7'><tr id='nQ8D7'><dt id='nQ8D7'><q id='nQ8D7'><span id='nQ8D7'><b id='nQ8D7'><form id='nQ8D7'><ins id='nQ8D7'></ins><ul id='nQ8D7'></ul><sub id='nQ8D7'></sub></form><legend id='nQ8D7'></legend><bdo id='nQ8D7'><pre id='nQ8D7'><center id='nQ8D7'></center></pre></bdo></b><th id='nQ8D7'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='nQ8D7'><tfoot id='nQ8D7'></tfoot><dl id='nQ8D7'><fieldset id='nQ8D7'></fieldset></dl></div>

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

          <legend id='nQ8D7'><style id='nQ8D7'><dir id='nQ8D7'><q id='nQ8D7'></q></dir></style></legend>
            <tfoot id='nQ8D7'></tfoot>
              <bdo id='nQ8D7'></bdo><ul id='nQ8D7'></ul>

                  <tbody id='nQ8D7'></tbody>
                1. 本文介紹了如何在 Kivy ScrollView 中滾動 GridLayout?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  目前這是我無法滾動的 kv 代碼:

                  At the moment this is my kv code that is not scrollable:

                  BoxLayout:
                      id: bl
                      orientation: 'vertical'
                      padding: 10, 10
                      row_default_height: '48dp'
                      row_force_default: True
                      spacing: 10, 10
                  
                      GridLayout:
                          id: layout_content
                          cols: 1
                          row_default_height: '20dp'
                          row_force_default: True
                          spacing: 0, 0
                          padding: 0, 0
                  
                          Label:
                              text: 'You don''t have any downloads. Please add new download from Home screen'
                  

                  如何讓上面的 kv 代碼可滾動?我知道 Kivy ScrollView 只接受一個孩子,而且我已經讓 GridLayout 成為新 ScrollView 的孩子.但它不起作用.有什么建議嗎?

                  How do you make the above kv code scrollable? I know that Kivy ScrollView only accept one child, and I have already make GridLayout to be child of a new ScrollView. But it's not working. Any suggestion?

                  推薦答案

                  根據ScrollView 的文檔 您必須至少禁用 ScrollView 的子 size_hint 之一:

                  According to the documentation for ScrollView you have to disable at least one of the ScrollView's child size_hint:

                  <Controller>:
                      layout_content: layout_content
                      BoxLayout:
                          id: bl
                          orientation: 'vertical'
                          padding: 10, 10
                          row_default_height: '48dp'
                          row_force_default: True
                          spacing: 10, 10
                          ScrollView:
                              size: self.size
                              GridLayout:
                                  id: layout_content
                                  size_hint_y: None
                                  cols: 1
                                  row_default_height: '20dp'
                                  row_force_default: True
                                  spacing: 0, 0
                                  padding: 0, 0
                  
                                  Label:
                                      text: "Lorem ipsum dolor sit amet"
                  

                  并綁定布局的大小以適應自身:

                  And bind the layout's size to adapt itself:

                  # main.py
                  
                  class Controller(FloatLayout):
                      layout_content=ObjectProperty(None)
                  
                      def __init__(self, **kwargs):
                          super(Controller, self).__init__(**kwargs)
                          self.layout_content.bind(minimum_height=self.layout_content.setter('height'))
                  

                  這篇關于如何在 Kivy ScrollView 中滾動 GridLayout?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持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 - 自動更改角色顏色)

                2. <small id='KGf3x'></small><noframes id='KGf3x'>

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

                          1. 主站蜘蛛池模板: h片在线免费看 | 欧洲妇女成人淫片aaa视频 | 国产精品美女久久久久久久久久久 | 美国一级黄色片 | 91亚洲国产亚洲国产 | 伊人在线视频 | 伊人亚洲 | 国产在线视频一区 | www四虎com| 欧美日韩国产精品一区二区 | 91原创视频在线观看 | 欧美精品成人影院 | 成人精品视频在线 | 中文字幕视频在线 | 欧美日本亚洲 | 欧美一级大片免费看 | 精品久久99| 亚洲国产精品一区二区三区 | 日韩精品在线看 | 91麻豆产精品久久久久久夏晴子 | 亚洲成人黄色 | 欧美精品网站 | 亚洲乱码一区二区三区在线观看 | 成人精品一区亚洲午夜久久久 | 欧美一级全黄 | 人人玩人人添人人澡欧美 | www.久| 国产精品中文字幕在线 | 精品视频在线观看 | www视频在线观看 | 久久精品一 | 成人免费毛片在线观看 | 国产一区二区三区在线看 | 中文在线一区二区 | 亚洲精选一区二区 | 亚洲一区二区av | 午夜精品一区二区三区在线观看 | 亚洲国产精品99久久久久久久久 | 九九视频网 | 天堂中文资源在线 | 黄色大片在线免费观看 |