Closed weypro closed 5 months ago
测试代码如下(可直接替换example内示例):
FluExpander { Layout.topMargin: 20 headerText: "打开一个滑动文本框" Item { anchors.fill: parent ScrollView { anchors.fill: parent TextArea { id: text_info width: parent.width wrapMode: Text.WrapAnywhere padding: 14 text: "先帝..." } } } }
预期效果:给TextArea加上滚动条,并且能够在展开后就能直接看到文本 实际效果:FluExpander展开后出现TextArea,但里面没有显示文本。在选中TextArea后出现文本。 以下是选中前后截图:
已修改再试试 https://github.com/zhuzichu520/FluentUI/commit/d6325b4f5baeafddcf5c570ccd772ff8faf1d1fa
好了
测试代码如下(可直接替换example内示例):
预期效果:给TextArea加上滚动条,并且能够在展开后就能直接看到文本 实际效果:FluExpander展开后出现TextArea,但里面没有显示文本。在选中TextArea后出现文本。 以下是选中前后截图: