IUpdateColumnLayout
trait · ferroui-controls-treedatagrid · v0.5.0
trait IUpdateColumnLayout: IColumn
The layout of a column (IUpdateColumnLayout).
Members
min_actual_widthmax_actual_widthstar_width_was_constrainedcell_measuredcalculate_star_widthcommit_actual_widthset_width
min_actual_width
fn min_actual_width(self: &Self) -> f64
max_actual_width
fn max_actual_width(self: &Self) -> f64
star_width_was_constrained
fn star_width_was_constrained(self: &Self) -> bool
cell_measured
fn cell_measured(self: &Self, width: f64, row_index: i32) -> f64
A cell of the column at row_index was measured at width; the width the cell gets.
calculate_star_width
fn calculate_star_width(self: &Self, available_width: f64, total_stars: f64)
commit_actual_width
fn commit_actual_width(self: &Self) -> bool
Commits the width laid out; true when it changed.
set_width
fn set_width(self: &Self, width: GridLength)
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.