material-design - 如何调整 KivyMD 手风琴的大小
问题描述
问题:
我正在使用 KivyMD Accordion,它的高度占据了大部分 UI 空间并缩小了每个手风琴项中应该包含的其他小部件,如下图所示。
如何固定/设置手风琴的高度以占用更少的空间?感谢任何输入!
代码片段:
MDAccordionItem:
title: "HOME"
icon: 'key'
GridLayout: # Root Layout of the screen
rows:4
ActionBar:
pos_hint: {'top':1}
ActionView:
use_separator: True
ActionPrevious:
title: 'Employee Info'
with_previous: False
#-----------------CODE HERE FOR 2ND ACCORDION ITEM-------------------
解决方案
推荐阅读
- machine-learning - 如何对机器学习的数据进行过采样 - 回归模型(不是分类!)
- python - 使用 librosa 和 Python 提取声音文件特征
- php - CKFinder + Laravel 8 的问题
- sql - 选择重复的付款和发票
- docker - 如何将我的 docker 容器复制到新计算机?
- c# - 断言服务已作为作用域服务注入
- ag-grid - 如何覆盖 Ag Grid QuickFilter 以接收精确匹配结果?
- tensorflow - 为什么在model.fit期间调用两次
- r - 创建具有重复行的数据框
- javascript - 如何使用 `in` 子句从 firestore 集合中获取具有特定 ID(复数)的文档?