字体样式不统一
您在文本图层中对某些单词或字符使用了不同的字体家族、字号、字重或样式(例如粗体、斜体或下划线)。
对于 QML Text 的整个值,必须使用相同的格式设置。例如,一个 Text 实例中的文本必须全部采用相同的大小,并具有相同的字重(如粗体)。如果样式适用于整个值,则可以组合使用这些样式。
选择“Unify text styling ”可在 Figma 中为整个图层应用主导样式。
另请参阅 “修复转换问题”。
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.