public sealed class FactRowOne "label: value" row in a derived-facts readout.
Remarks
The part is FactRow.vxml; this file is the accessibility modifier, on the same arrangement GpuTimelineView, MemoryView and StatisticsView use. The emitter's partial carries no modifier, so a type another assembly holds needs a declaration that says public — and every caller of this one is in another assembly, which is the whole point of it being here.
⚠ The shape is doc 20's (derived) convention and not a new one. A row, a name, a value, styled by fact-row/fact-name/fact-value — which is what EditorWorlds, TerrainModule, WaterModule, FontView, TextureImportView and CompiledSceneView each wrote out for themselves. Three of those six are in assemblies that can see this one and now do; the other three are under Vixen.Editor.AssetEditors, which does not reference Vixen.Editor.Ui and cannot without a new edge in the graph.
⚠ And two of the six disagreed about where the value's text goes. TextureImportView and CompiledSceneView set fact-value's own Text where the other four add a text child; this reproduces the four, because those are the callers it replaces. Reconciling the other two is a layout change and not a tidy-up — a text child is a box and a parent's Text is not.
⚠ Both of those two are markup now (wave 5) and both still set the cell's own Text, through Vixen.Editor.AssetEditors's own FactName/FactValue in Captions.cs. The disagreement above therefore survives the ports on purpose, and is now written down in two places rather than six. Whoever reconciles it moves pixels in four panels and should say so in the commit.
Fields and properties (5)
Methods (2)
protected override void OnCreated()protected override void OnRemoved()
Used by (10)
- EditorApplicationVixen.Editor.App
- FactBlockVixen.Editor.Terrain
- FactBlockTestsVixen.Editor.Terrain.Tests
- FactRowTestsVixen.Editor.Ui.Tests
- LayerBlockVixen.Editor.Terrain
- PaletteBlockVixen.Editor.Terrain
- PaletteBlockTestsVixen.Editor.Terrain.Tests
- WaterFactsTestsVixen.Editor.Water.Tests
- WaterModuleVixen.Editor.Water
- WaterZoneFactsVixen.Editor.Water