鼠须管的布局属性让人感到困惑,需要更符合新版本的文档 #1271
-
鼠须管中的布局属性中有这几个属性
其中的 但是实际在源码中的体现是: // https://github.com/rime/squirrel/blob/7de3919aead2e425e66d3bacd3e5e441617cb66d/SquirrelPanel.m#L1988-L1993
[theme setCornerRadius:cornerRadius
hilitedCornerRadius:hilitedCornerRadius
srdExtraExpansion:surroundingExtraExpansion
shadowSize:shadowSize
edgeInset:edgeInset
borderWidth:MIN(borderHeight, borderWidth) 可以看到,border 总是选择其中较小的一个尺寸。 |
Beta Was this translation helpful? Give feedback.
Answered by
LEOYoon-Tsaw
Apr 22, 2023
Replies: 2 comments 7 replies
-
同时,鼠须管的 |
Beta Was this translation helpful? Give feedback.
7 replies
-
我做了Squirrel Designer,比任何文檔都強 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
LEOYoon-Tsaw
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我做了Squirrel Designer,比任何文檔都強