//! Canvas content: the chips the 3D viewport draws over the model (dimension
//! values, annotation and label text, sketch readouts). Lane UI-WORKBENCHES,
//! rollout step 5.
//!
//! These are not chrome. They sit on the viewport, whose background and model
//! colours stay the shipped display defaults whatever the UI theme is (spec
//! section 8: viewport rendering is out of scope), and their text is drawn in
//! the viewport's own colours (dimension orange, the sketch display settings).
//! So they keep egui's own button art on purpose, built here so a panel never
//! constructs a raw `egui::Button` itself, and so a later viewport refresh has
//! one place to restyle them.
use egui;
/// A viewport chip: an `egui::Button` over `atoms` (text, or an icon and
/// text), for the caller to chain `.frame`, `.wrap_mode`, `.sense` and
/// `.min_size` on exactly as before.