euv-ui 0.28.3

Reusable UI component library for the euv framework, providing buttons, cards, modals, inputs, and more.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use super::*;

/// The horizontal alignment of a table column and of every cell in it.
///
/// Drives the `c_euv_table_cell_center` / `c_euv_table_cell_right`
/// modifier stacked on top of the shared `c_euv_table_cell` base, so a
/// column's alignment is expressed in one place instead of being repeated
/// per cell.
#[derive(Clone, Copy, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
pub enum EuvTableAlign {
    /// Flush-left content; renders the base `c_euv_table_cell` alone.
    #[default]
    Left,
    /// Horizontally centred content.
    Center,
    /// Flush-right content, the usual home for numeric columns.
    Right,
}