diff --git a/crates/re_types/definitions/rerun/blueprint/components/panel_state.fbs b/crates/re_types/definitions/rerun/blueprint/components/panel_state.fbs index f71871f38a85..0ef94755bf47 100644 --- a/crates/re_types/definitions/rerun/blueprint/components/panel_state.fbs +++ b/crates/re_types/definitions/rerun/blueprint/components/panel_state.fbs @@ -9,19 +9,19 @@ namespace rerun.blueprint.components; // --- -/// Panel state +/// Tri-state for panel controls. enum PanelState: byte ( "attr.rerun.scope": "blueprint", "attr.rust.derive": "Copy, PartialEq, Eq", "attr.rust.repr": "transparent", "attr.rust.tuple_struct" ) { - /// Completely hidden + /// Completely hidden. Hidden, - /// Visible, but as small as possible on its shorter axis + /// Visible, but as small as possible on its shorter axis. Collapsed, - /// Fully expanded + /// Fully expanded. Expanded, } diff --git a/crates/re_types/src/blueprint/components/panel_state.rs b/crates/re_types/src/blueprint/components/panel_state.rs index 787c1d20b805..388913993be9 100644 --- a/crates/re_types/src/blueprint/components/panel_state.rs +++ b/crates/re_types/src/blueprint/components/panel_state.rs @@ -22,16 +22,16 @@ use ::re_types_core::SerializationResult; use ::re_types_core::{ComponentBatch, MaybeOwnedComponentBatch}; use ::re_types_core::{DeserializationError, DeserializationResult}; -/// **Component**: Panel state +/// **Component**: Tri-state for panel controls. #[derive(Clone, Copy, Debug, PartialEq, Eq)] pub enum PanelState { - /// Completely hidden + /// Completely hidden. Hidden = 1, - /// Visible, but as small as possible on its shorter axis + /// Visible, but as small as possible on its shorter axis. Collapsed = 2, - /// Fully expanded + /// Fully expanded. Expanded = 3, } diff --git a/rerun_cpp/src/rerun/blueprint/components/panel_state.hpp b/rerun_cpp/src/rerun/blueprint/components/panel_state.hpp index 850a2f033d18..62dcbe8a192c 100644 --- a/rerun_cpp/src/rerun/blueprint/components/panel_state.hpp +++ b/rerun_cpp/src/rerun/blueprint/components/panel_state.hpp @@ -15,16 +15,16 @@ namespace arrow { } // namespace arrow namespace rerun::blueprint::components { - /// **Component**: Panel state + /// **Component**: Tri-state for panel controls. enum class PanelState : uint8_t { - /// Completely hidden + /// Completely hidden. Hidden = 1, - /// Visible, but as small as possible on its shorter axis + /// Visible, but as small as possible on its shorter axis. Collapsed = 2, - /// Fully expanded + /// Fully expanded. Expanded = 3, }; } // namespace rerun::blueprint::components diff --git a/rerun_py/rerun_sdk/rerun/blueprint/components/panel_state.py b/rerun_py/rerun_sdk/rerun/blueprint/components/panel_state.py index f696c59f6c68..69445a8fb683 100644 --- a/rerun_py/rerun_sdk/rerun/blueprint/components/panel_state.py +++ b/rerun_py/rerun_sdk/rerun/blueprint/components/panel_state.py @@ -18,16 +18,16 @@ class PanelState(Enum): - """**Component**: Panel state.""" + """**Component**: Tri-state for panel controls.""" Hidden = 1 - """Completely hidden""" + """Completely hidden.""" Collapsed = 2 - """Visible, but as small as possible on its shorter axis""" + """Visible, but as small as possible on its shorter axis.""" Expanded = 3 - """Fully expanded""" + """Fully expanded.""" PanelStateLike = Union[PanelState, str]