浏览代码

Making ParameterElement sizes larger to make room for odd SceneReference editor sizes

/generic-asset-sources
Jon Hogins 4 年前
当前提交
41e3baef
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      com.unity.perception/Editor/Randomization/VisualElements/Parameter/ParameterElement.cs

2
com.unity.perception/Editor/Randomization/VisualElements/Parameter/ParameterElement.cs


var listView = template.Q<ListView>("options");
listView.itemsSource = probabilities;
listView.itemHeight = 22;
listView.itemHeight = 44;
listView.selectionType = SelectionType.None;
listView.style.flexGrow = 1.0f;
listView.style.height = new StyleLength(listView.itemHeight * 4);

正在加载...
取消
保存