Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

textedit相关问题 #291

Closed
204065248 opened this issue Sep 1, 2022 · 4 comments
Closed

textedit相关问题 #291

204065248 opened this issue Sep 1, 2022 · 4 comments

Comments

@204065248
Copy link

  1. textedit无法Ctrl + A全选吗,按了后出现下图情况
    image
  2. 无法选中文本
  3. 双击无法全选

另外我想问问,2.2版本如何实现多窗效果。如果不行的话3.0版本什么时候发布呢

@204065248
Copy link
Author

哦,还有如何设置全局样式,比如说设置全局的字体。

@lc-soft
Copy link
Owner

lc-soft commented Sep 8, 2022

textedit 没做文本选中功能,不支持 Ctrl+A 快捷键全选

@lc-soft
Copy link
Owner

lc-soft commented Sep 8, 2022

2.2 版本,你要是试过 LCUIDisplay_SetMode(LCUI_DMODE_SEAMLESS); 切换无缝模式没效果的话,那就不行了,毕竟改 LCUI 代码也费时间。

3.0 发布时间不确定,因为近期都没时间搞。

@lc-soft
Copy link
Owner

lc-soft commented Sep 8, 2022

全局字体的话,由于 LCUI 的 css 库没做属性继承支持,你需要针对 textview 和 textedit 部件加样式,例如:

textview {
  font-family: "你的字族名称";
}

@lc-soft lc-soft closed this as completed Sep 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants