Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Defines reusable layout metrics and separates owned frame values from requested style changes.

API: engine
Inherits: object
Project: Inno.Editor.ImGui

public sealed class Inno.Editor.ImGui.EditorStyleMetrics

Standalone instances apply changes immediately. Session-owned instances defer changes requested during native drawing until the next style preparation. They are mutable only on the owner thread and must not be modified after their session retires.

Kind Element Description
Constructors EditorStyleMetrics.Constructor Creates independent metrics whose changes apply immediately without a native context.
Fields EditorStyleMetrics.C_MAX_ZOOM Defines the largest supported editor UI zoom.
Fields EditorStyleMetrics.C_MIN_ZOOM Defines the smallest supported editor UI zoom.
Fields EditorStyleMetrics.C_ZOOM_STEP Defines one keyboard or menu zoom increment.
Methods EditorStyleMetrics.ResetZoom Restores the baseline editor UI zoom.
Methods EditorStyleMetrics.SetCompactMode Requests comfortable or compact density without changing an active session frame.
Methods EditorStyleMetrics.SetZoom Requests a bounded zoom without changing metrics partway through an owned native frame.
Methods EditorStyleMetrics.ZoomIn Increases editor UI zoom by one bounded increment.
Methods EditorStyleMetrics.ZoomOut Decreases editor UI zoom by one bounded increment.
Properties EditorStyleMetrics.addButtonTopPadding Gets top padding above trailing add buttons.
Properties EditorStyleMetrics.axisPrefixMinimumWidth Gets the minimum width of an axis prefix.
Properties EditorStyleMetrics.axisPrefixWidthRatio Gets the axis prefix share of the complete control.
Properties EditorStyleMetrics.axisValueMinimumWidth Gets the minimum width of one axis value field.
Properties EditorStyleMetrics.borderSize Gets standard border thickness.
Properties EditorStyleMetrics.breadcrumbFramePadding Gets breadcrumb frame padding.
Properties EditorStyleMetrics.cardBodyPadding Gets card body padding.
Properties EditorStyleMetrics.cardHeaderPadding Gets card header padding.
Properties EditorStyleMetrics.cardSpacing Gets spacing between cards.
Properties EditorStyleMetrics.cellPadding Gets standard table cell padding.
Properties EditorStyleMetrics.collapsedSectionCapLength Gets the length of each centered end cap on a collapsed Inspector section.
Properties EditorStyleMetrics.columnMinimumSpacing Gets minimum column spacing.
Properties EditorStyleMetrics.compactCheckboxSize Gets the compact checkbox size used by card headers.
Properties EditorStyleMetrics.compactFramePadding Gets compact frame padding.
Properties EditorStyleMetrics.compactItemSpacing Gets compact vertical item spacing.
Properties EditorStyleMetrics.disabledAlpha Gets disabled content opacity.
Properties EditorStyleMetrics.disclosureButtonInset Gets card disclosure inset.
Properties EditorStyleMetrics.fontScale Gets global content scale.
Properties EditorStyleMetrics.framePadding Gets standard frame padding.
Properties EditorStyleMetrics.frameRounding Gets standard frame rounding.
Properties EditorStyleMetrics.grabMinimumSize Gets minimum grab size.
Properties EditorStyleMetrics.headerControlSpacing Gets spacing between leading controls inside card headers.
Properties EditorStyleMetrics.headerSectionSpacing Gets spacing between distinct control groups in the target header row.
Properties EditorStyleMetrics.iconLabelSpacing Gets spacing between a leading icon and its text.
Properties EditorStyleMetrics.indentSpacing Gets tree indentation.
Properties EditorStyleMetrics.inlineRenameFramePadding Gets the compact inner padding of inline rename fields.
Properties EditorStyleMetrics.interactionOverlayThickness Gets the standard foreground interaction-overlay thickness.
Properties EditorStyleMetrics.isCompact Gets whether compact editor density is active.
Properties EditorStyleMetrics.itemInnerSpacing Gets standard inner item spacing.
Properties EditorStyleMetrics.itemSpacing Gets standard item spacing.
Properties EditorStyleMetrics.labelChipPadding Gets the inner padding of compact colored label chips.
Properties EditorStyleMetrics.labelChipRounding Gets the corner rounding of compact colored label chips.
Properties EditorStyleMetrics.menuBorderSize Gets editor context-menu border thickness.
Properties EditorStyleMetrics.menuFramePadding Gets the uniform item padding of editor context menus.
Properties EditorStyleMetrics.menuItemSpacing Gets the uniform spacing between editor context-menu items.
Properties EditorStyleMetrics.menuRounding Gets editor context-menu corner rounding.
Properties EditorStyleMetrics.menuSearchFramePadding Gets the compact padding used by the search field at the top of editor context menus. Its vertical padding matches the half-spacing that menu entries add above and below a line.
Properties EditorStyleMetrics.menuWindowPadding Gets the uniform content padding of editor context menus.
Properties EditorStyleMetrics.modalFadeInSeconds Gets the modal fade-in duration in seconds.
Properties EditorStyleMetrics.modalFadeOutSeconds Gets the modal fade-out duration in seconds.
Properties EditorStyleMetrics.modalMinimumVisibleSeconds Gets the minimum modal visibility duration in seconds.
Properties EditorStyleMetrics.modalWidth Gets the standard centered modal width.
Properties EditorStyleMetrics.panelTabFramePadding Gets the frame padding used while docked panel tabs are laid out.
Properties EditorStyleMetrics.paneMinimumVisibleWidth Gets the minimum visible width retained for either resizable content pane while its splitter is dragged.
Properties EditorStyleMetrics.propertyLabelRatio Gets property label width ratio.
Properties EditorStyleMetrics.propertyMetadataSpacing Gets the spacing around the separator between inline metadata and its value.
Properties EditorStyleMetrics.scrollbarPadding Gets the inset that keeps an overlay scrollbar grab visually lightweight.
Properties EditorStyleMetrics.scrollbarSize Gets scrollbar width.
Properties EditorStyleMetrics.searchPopupWidth Gets the default width of searchable editor popups.
Properties EditorStyleMetrics.sectionHeaderPadding Gets the shared padding around separator-style section titles.
Properties EditorStyleMetrics.sectionLegendGap Gets the gap between an Inspector section legend and its interrupted top border.
Properties EditorStyleMetrics.sectionPadding Gets the inner padding of a framed Inspector section.
Properties EditorStyleMetrics.sectionRounding Gets the subtle corner rounding used by framed content sections inside editor containers.
Properties EditorStyleMetrics.sectionSpacing Gets the vertical distance after a framed Inspector section.
Properties EditorStyleMetrics.splitterMinimumWidth Gets the minimum draggable resizable content splitter width.
Properties EditorStyleMetrics.targetHeaderPadding Gets the inner padding of the persistent target header.
Properties EditorStyleMetrics.targetHeaderRowSpacing Gets spacing between the two rows of the persistent target header.
Properties EditorStyleMetrics.targetIconScale Gets the font-size multiplier used by the large target icon.
Properties EditorStyleMetrics.textDecorationOffset Gets the vertical offset of text decorations from the baseline.
Properties EditorStyleMetrics.toolbarFramePadding Gets toolbar frame padding.
Properties EditorStyleMetrics.toolbarSectionSpacing Gets spacing between resizable content toolbar sections.
Properties EditorStyleMetrics.toolbarSpacing Gets the regular resizable content toolbar spacing.
Properties EditorStyleMetrics.toolbarTightSpacing Gets the tight resizable content toolbar spacing.
Properties EditorStyleMetrics.treeFolderConnectorPadding Gets additional connector padding for expandable tree nodes.
Properties EditorStyleMetrics.treeGuideLeftOffset Gets tree guide left offset.
Properties EditorStyleMetrics.treeGuideLineOverlap Gets the overlap used to join adjacent tree guide segments.
Properties EditorStyleMetrics.trendHeight Gets the scaled height of a compact sampled-value trend plot.
Properties EditorStyleMetrics.typeBadgePadding Gets the compact inner padding of outlined type badges.
Properties EditorStyleMetrics.typeBadgeRounding Gets the corner rounding of outlined type badges.
Properties EditorStyleMetrics.typeBadgeSpacing Gets the horizontal gap between a property name and its type badge.
Properties EditorStyleMetrics.windowMinimumSize Gets minimum window size.
Properties EditorStyleMetrics.windowPadding Gets standard window padding.
Properties EditorStyleMetrics.windowRounding Gets standard window rounding.
Properties EditorStyleMetrics.zoom Gets the effective zoom used by the current presentation frame.