Commit Graph
14 Commits
Author SHA1 Message Date
aiongg 45a14a4dad Rulers: minor tick token, mid tick 6/9, ticks end at the divider band, vertical labels step by the label size, horizontal labels sit one gap below the strip top 2026-11-16 16:45:11 +00:00
aiongg e89d434cc1 framework-01-w2: net change of 7 commits
- framework-01-w2: repair 1
- framework-01-w2: RowStyle and ShapeTokens::rows go (size.rs, lib.rs rows of the sheet)
- framework-01-w2: list rows: option rows rounded, others square; layer rules in every theme (show.rs row of the sheet)
- framework-01-w2: review fixes (review-1)
- framework-01-w2: review fixes (review-1, files the rulings name)
- framework-01-w2: the escaped-sweep trial follows the sweep rule: only the eyes it switched are restored (fw01 round 2)
- framework-01-w2: a drop past the last item in reading order lands at the end, in every layout (fwcw round 3)
2026-11-15 04:46:05 +00:00
aiongg 74a1426e57 F-5 review: the host reports the autoscroll step from the pass clock; the hover band is size.hit.edge inside the view's rect; a secondary background press leaves a text session open 2026-11-13 01:08:19 +00:00
aiongg 1cc518f92d Icon strokes scale with the glyph: one stroke.icon role, a share of the icon side (Lucide at 1.75 of 24), for stroke sets and the suite's stroke drawings alike 2026-11-12 15:23:58 +00:00
aiongg 51efda762e Panel options: thumbnail size samples take their own size role
The samples beside the thumbnail size choices of a panel's options dialog (Layers, Channels, Paths) are larger than the
panel's own thumbnails, so the three choices read apart. They take `size.thumb.sample.{sm,md,lg}`: 36, 48 and 96 in
Compact, 36, 68 and 96 in Comfortable (twice the row thumbnails, as the old dialog drew them; PhotoCraft draws 38, 68
and 96). A Picture shows one through `PictureSize::Sample`, and the Layers options dialog's samples use it.
2026-11-12 15:12:11 +00:00
aiongg d62a71318a Dialog width: a dialog opens at least size.dialog.least wide and its paragraphs wrap at size.dialog.wrap, through ContainerProps::least_width and a new wrap_width; content that cannot wrap widens it 2026-11-12 14:32:51 +00:00
aiongg c51f6a103e Text row height role: size.row.text is one body line and space.gap.tight (compact 18, comfortable 21), at most a small control and at least the body line, for read-only display tables 2026-11-12 14:32:50 +00:00
aiongg 7fcd160eca Field and number widths per control size: size.length.field and size.length.number hold sm and md, and controls read them through ControlMetrics, so a field in a small options bar is narrower than one in a dialog 2026-11-12 14:32:49 +00:00
aiongg 39be8c8025 Notice cards: one card width (size.notice.width), a status card's edge and title in its tone, and a toast stack measured and placed inside the body whose corner it sits at 2026-11-12 14:32:47 +00:00
aiongg a76f2d964c Notice: a centred notice draws a brand title in the new display type role (38 on 46, semibold) with its byline beside it, or under it when both don't fit; token dumps gain the display role 2026-11-12 14:32:44 +00:00
aiongg 9777ba9c83 Rows, notices and gallery story columns derive their sizes from role tokens
A list row with a thumbnail is at least a standard control and the panel padding tall (the old
thumb_row_min), a centred notice reads about 38 body sizes wide, and the stage tokens become the story
stage (size.story), whose least width also sets the gallery's story columns. A gallery card is at
least a story and its padding wide, and its height guesses come from type and control roles.
size.thumb_row goes.
2026-11-12 14:32:43 +00:00
aiongg 635122bc4f Canvas controls and plots derive their sizes from role tokens; borrowed tokens move to their roles
The curve graph's largest side is 1.25 least plot widths, the compass a medium thumbnail (the old
compass_rect), the warp grid reveals its handles within 7 hit targets, and the transform box's hit,
rotate reach and rotate band are ratios of the handle side. The dock group's drag band takes its own
ratio of the handle side instead of the transform box's band, the timeline render bar the heavy
stroke instead of the slider groove, and the page picture the plot width instead of the floating
window height. handle.hit, rotate_reach, band_inner, band_outer, hit.reveal, plot.most and
canvas.compass go.
2026-11-12 14:32:43 +00:00
aiongg a338de11aa Value controls derive their sizes from role tokens: dial, dead zone, switch, progress bar and thumb row thumb
The angle dial is 1.75 standard control heights across with a dead zone of 0.1 (the old dial), the brush
ellipse two dials, the switch track twice its height (the old SWITCH_ASPECT), a progress bar two grooves
thick, and a thumb row thumb as the old levels thumb from the handle sides. size.dial, hit.dead_zone,
toggle, meter and marker go.
2026-11-12 14:32:43 +00:00
aiongg e59460135e Base crates on the framework: theme, behaviour, keymap, platform, window, settings, i18n, fonts 2026-11-12 14:09:48 +00:00