久久久久久久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. 主站蜘蛛池模板: 九九在线观看高清免费 | 国产精品6| 91精品91久久久中77777 | 亚洲精品中文字幕乱码三区91 | 在线免费黄色网址 | 国产区av | 五月天婷婷综合网 | 久久艹精品 | 亚洲激情欧美激情 | 三级黄色在线观看 | 国产精品国产 | 成人激情视频在线观看 | 黄色影视在线观看 | www国产精品| 日韩伦理在线观看 | 亚洲黄色在线视频 | 黑人操亚洲人 | 国产毛片视频 | 一区二区影院 | 久久免费网 | 日本a级大片 | 日韩成人免费视频 | 三级黄色片网站 | 国产区精品 | 欧美在线不卡 | 欧美综合在线视频 | 一区二区高清视频 | 亚洲天天看 | 国语av| 日本加勒比视频 | 国产免费一级片 | 欧美日本在线 | 狠狠干2021| 久插视频 | 精品国产乱码久久久久久88av | 中文字幕在线观看一区 | 日本视频免费 | 国产丝袜视频 | 在线一区二区三区 | 成人在线视频免费 | 中文字幕少妇 |