未验证 提交 7c8677d0 编写于 作者: J Jackson Kearl 提交者: GitHub

Fix exclude controls not accounting for the description height (#56957)

* Fix exclude controls not accounting for the description height

* Tweak constant
上级 da30e08b
......@@ -388,7 +388,7 @@ export class SettingsRenderer implements ITreeRenderer {
_getExcludeSettingHeight(element: SettingsTreeSettingElement): number {
const displayValue = getExcludeDisplayValue(element);
return (displayValue.length + 1) * 22 + 80;
return (displayValue.length + 1) * 22 + 66 + this.measureSettingDescription(element);
}
private measureSettingElementHeight(tree: ITree, element: SettingsTreeSettingElement): number {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册