<bdo id='OF3oh'></bdo><ul id='OF3oh'></ul>

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

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

    1. <tfoot id='OF3oh'></tfoot>
      1. 找不到 TableRecycleGridLayout 来修复 Kivy 代码

        时间:2023-10-10
        • <bdo id='li6li'></bdo><ul id='li6li'></ul>
        • <i id='li6li'><tr id='li6li'><dt id='li6li'><q id='li6li'><span id='li6li'><b id='li6li'><form id='li6li'><ins id='li6li'></ins><ul id='li6li'></ul><sub id='li6li'></sub></form><legend id='li6li'></legend><bdo id='li6li'><pre id='li6li'><center id='li6li'></center></pre></bdo></b><th id='li6li'></th></span></q></dt></tr></i><div id='li6li'><tfoot id='li6li'></tfoot><dl id='li6li'><fieldset id='li6li'></fieldset></dl></div>

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

            <tfoot id='li6li'></tfoot>

                    <tbody id='li6li'></tbody>

                • <legend id='li6li'><style id='li6li'><dir id='li6li'><q id='li6li'></q></dir></style></legend>
                  本文介绍了找不到 TableRecycleGridLayout 来修复 Kivy 代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  尝试在 KivyMD 中创建表时出错

                  I'm getting an error trying to create a table in KivyMD

                  ValueError:TableRecycleGridLayout.orientation 设置为无效选项垂直".必须是以下之一:['lr-tb', 'tb-lr', 'rl-tb', 'tb-rl', 'lr-bt', 'bt-lr', 'rl-bt', 'bt-rl']

                  它告诉我我需要将方向更改为垂直"以外的方向,但我在任何地方都找不到.

                  It's telling me I need to change orientation to something other than 'vertical' but I can't find it anywhere.

                  推荐答案

                  我找到了一个解决方法,即从TableRecycleGridLayout:"中删除orientation:'vertical'.在kivymd/uix/datatables.py中如下图:

                  I found a fix which was to simply remove orientation:'vertical' from "TableRecycleGridLayout:" in kivymd/uix/datatables.py as shown below:

                  TableRecycleGridLayout:
                      id: row_controller
                      key_selection: "selectable"
                      cols: root.total_col_headings
                      cols_minimum: root.cols_minimum
                      default_size: None, dp(52)
                      default_size_hint: 1, None
                      size_hint: None, None
                      height: self.minimum_height
                      width: self.minimum_width
                      multiselect: True
                      touch_multiselect: True
                  

                  现在运行您的程序.分享您的意见.

                  Now run your program. Share your comments.

                  这篇关于找不到 TableRecycleGridLayout 来修复 Kivy 代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:Kivy 外部规则继承 2 下一篇:使用 add_widget() 继承 Kivy 规则

                  相关文章

                  最新文章

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

                      <tfoot id='VZKKM'></tfoot>

                    1. <small id='VZKKM'></small><noframes id='VZKKM'>

                        <bdo id='VZKKM'></bdo><ul id='VZKKM'></ul>