tab-size
Utilities for controlling the visual width of literal tab characters in preformatted text.
ISS preview

Examples
Section titled “Examples”use iced::widget::text;use iss::{tw, TwExt};
let snippet = text("fn main() {\n\tprintln!(\"hi\");\n}").tw(tw!("font-mono whitespace-pre tab-4 text-xs"));use iss::typed::*;
let style = IssStyle::new().font_mono().whitespace_pre().tab_size(4);Class Reference
Section titled “Class Reference”| Tailwind Class | CSS Property / Effect | iss::typed Builder |
|---|---|---|
tab-2 / tab-4 / tab-8 |
tab-size: 2 / 4 / 8; |
.tab_size(4) |
tab-[6] |
tab-size: 6; |
.tab(6) |