Commit Graph
2163 Commits
Author SHA1 Message Date
aiongg a96e58b6bd MissingFontsDialog: the Replace With caption over the missing fonts
The field group named its rows for AccessKit only. A fixed section in the caption strength shows the old grey caption over them, with no rule.
2026-11-12 14:32:48 +00:00
aiongg 6ce4068b64 ShortcutsDialog: whole chord chips, an add button on every row, the reset arrow
A chip's label replaced its text with the access name, so the chips read "Sav…"; the chord is the painted text and the name stays the label. The shortcut column is as wide as its widest row of chips with the add and restore buttons, at most 40 % of the table, as the old was, and the add button keeps its place after the chips, so it no longer drops off rows. The restore button shows the catalog's new reset icon, a counter-clockwise circle, in place of the undo arrow.
2026-11-12 14:32:48 +00:00
aiongg 4989787bb4 CommentsPanel: plain icons at the button glyph size, the standard disclosure, a reply's author and age on one line
The status, check and lock icons were painted over a whole control-high square, twice the icon buttons beside them; they take the buttons' glyph side. A heading shows the disclosure glyph every component uses instead of chevron icons. A reply's author and age share one line, as in the old panel, where both fit whole; otherwise the age goes under the author.
2026-11-12 14:32:48 +00:00
aiongg cba374046d TextRuler: the decimal stop's dot at the size WordCraft draws it
Its radius was the thick stroke, about twice WordCraft's 1.1 pt, so the dots crowded the ruler.
2026-11-12 14:32:48 +00:00
aiongg e54fed5fa3 MediaControls: trim ends across a seek track that fills the bar
The trim ends were Slider marks: small ticks under the track that the seek snapped to. Slider::trim draws the ends of a kept span as lines across the track, a thumb high, in the warning colour, without snapping; Slider::fill_width lets a track take the rest of its row. The media controls use both, as the old did.
2026-11-12 14:32:48 +00:00
aiongg 56857cb223 Timeline and GraphEditor stories show the whole component; the time area is sunken without a frame
The time area is a fill view, so a story in the flow gave it only its content: the Timeline showed its top strip inside the view's rounded sunken frame, and the GraphEditor, shown over a rect nothing reserved, showed nothing. Timeline gets show_at and its story the stage; GraphEditor fills its row's width and measures a plot over its bar, and its story shows it in a strip view. The view paints the sunken fill under its time area only, square and with no edge, as the old panel did, and the track headers stay on the panel. The graph's value labels stay inside the plot: the top line's label stood above it.
2026-11-12 14:32:48 +00:00
aiongg 49da095b61 TimecodeField: as wide as its widest time
The field took the text field's length and shortest width, about twice its digits. FieldStyle::sized_by_content gives the field look without them, for the fields whose measure is their whole width; NumberField's style uses it too.
2026-11-12 14:32:48 +00:00
aiongg b35ae1b4b1 TimelineRuler: split-edit marks in their own row under the tick labels
The tick body is the label line over a mark row one label line high, as the old ruler kept a tick row under its labels. The video bracket hangs from the row's top, the audio bracket stands on its bottom, and each tag stays inside the row, so neither covers a tick label.
2026-11-12 14:32:48 +00:00
aiongg f21f832308 A stack shown at a rect is a given column: its fill children take the rect's width
A content-sized stack shown at a rect counted as a content column, so a
fill-width child in it was held at its measured width. Since collections
follow the content-column rule, TimelinePanel's track panes (each a
content stack at its split-area rect) measured their TrackStacks at the
header columns' width and showed no lanes, ruler or clips. A stack is a
content column only where its width comes from its content (!wide).
2026-11-12 14:32:48 +00:00
aiongg 668051a9ac SwatchTable asks for every cell in one row where it takes its width from content, so the room wraps it
In a column that sizes from its content the table measured one cell wide
and wrapped to a single column. It asks for all its cells (or its count
per row) and the room it is offered wraps them, as the old palette wrapped
to the width.
2026-11-12 14:32:48 +00:00
aiongg ae4b9748f1 NewDocumentDialog: the preset grid asks for three card columns, the width the left side had 2026-11-12 14:32:48 +00:00
aiongg 13221fd697 Collections take their width from content where their column gives none, and honour their pad
A collection that fills the width (Fill or FillWidth) follows the rule a
container does: where the enclosing body does not give its width (sized
from content, or a content column), a measuring run takes the width from
its content (header least width, else its largest row, at least its
ideal_width) and the column holds it across the width it settles on. A
FillWidth TabStrip or list in a dialog's column no longer sets the
column to the screen's width. Env::gives_width names the rule for both.

Collections honour ContainerProps::pad as containers do: the items hook
reports it (ShapeHooks::pad), the pass carries it in Resolved::pad, and
step 5, the measure view's room and step 7's content rect read the
padding through steps::padding. The header, rows, scroll bar and empty
text sit inside it; the surface covers the whole rect. #[container]
forwards pad, so Panel's own copy goes.

The spelling, file list and glyph wells are a List or TileGrid with
surface(Sunken).pad(Control); RelinkDialog's table is FillWidth.
2026-11-12 14:32:48 +00:00
aiongg 26c435698f MediaBin: the search field fills the row before the count
TextField::fill_width takes the room its row leaves, as Button's does. The
row starts at the start edge: an end-aligned row overflowed in a bin held
at its column's width.
2026-11-12 14:32:48 +00:00
aiongg 56c097289d LinkList: the page on the name's line; the story's info names the lead link's path 2026-11-12 14:32:48 +00:00
aiongg 50dbd02e42 MediaBin story: List view rows with thumbnails 2026-11-12 14:32:48 +00:00
aiongg 4d9b800029 MediaBin: the List view shows glyph badges and names an item's status
A glyph badge follows the name as an icon. An offline, unreadable or
failed item shows the Icon view's glyph and words after its name, beside
the failure colour, so the status never reads as colour alone.
2026-11-12 14:32:48 +00:00
aiongg c58abdd4a5 MediaBin: the search and the count on a row under the title 2026-11-12 14:32:48 +00:00
aiongg 8703a667ba FooterBar: lay panel actions out from the reading end
The first action given sits at the end edge, as the old PanelFooter and
Photoshop's panel footers place them; a start group keeps its order.
Callers give their actions from the end edge: Layers, Channels,
Actions, Pages, the styles panel, the preset footer and MediaBin.
The filter gallery keeps Move Up and Move Down at the start edge.
LinkList's actions read as in the old: the menu at the start edge,
Relink at the end edge.
2026-11-12 14:32:48 +00:00
aiongg 8cb7ec3f02 Tile grid group headers are tree heading rows
A group header is a heading ListRow at the group's depth, with its icon and detail. The row places its disclosure column; the grid declares its disclosure part at that rect (ListRow::disclosure_at) and paints the tree triangle there, so the title starts after the disclosure instead of under it. The grid's own toggle geometry goes, and its layout sizes move out of the style into GridSizes.

TileGroup gains depth and icon. PresetBrowser passes each group's depth and a folder or open folder glyph, and its list view's group rows show the same glyph.
2026-11-12 14:32:48 +00:00
aiongg 37b6bb87c5 Bare tiles pack tight
A tile without a caption keeps only gap.tight around its picture, the room its selection ring draws in, and a grid of such tiles puts no gap between them. GlyphsPanel's zoom takes the old cell range, 24 to 64 pt, with a default near the old 32 pt.
2026-11-12 14:32:48 +00:00
aiongg 6cc6c2ec1a Tile placeholders stand apart from a sunken surface
EnvView::surface reads the surface a component sits on, and a collection's rows sit on the surface the collection paints. A tile on a sunken surface fills its empty picture with the raised surface instead of the sunken one.
2026-11-12 14:32:48 +00:00
aiongg f86466c18c PreferencesWindow: a rule between the page list and the page
The page list and the page are divided by a vertical rule down the body, as in the old Preferences window.
2026-11-12 14:32:48 +00:00
aiongg 2cd84ca3d1 A child that fills a content-height row's height spans its line
A leaf that fills its height in an unwrapped row whose height comes from its
content is held at its measured height in the row's measuring run and shown
across the line the row settles on (`row_line`), as a fill-width child of a
content column is held at its measured width and shown across the column. It
never sets the line, so a vertical divider spans the row beside its tallest
child. A row given its height already gives it; a wrapped row has no line, and
a container that fills keeps its capped content height.

The cross_fill trial shows the divider spanning the row, the row as tall as
its tallest child, a button keeping its height, and a settled frame measuring
nothing.
2026-11-12 14:32:48 +00:00
aiongg 927c00eba2 StrokeEditor: the six dash and gap fields in two rows of three, so each keeps its widest value's width 2026-11-12 14:32:48 +00:00
aiongg a6bbf79ac1 stroke_editor trial: drop an unused import 2026-11-12 14:32:48 +00:00
aiongg c5bc52128c StrokePreview: the open line only, with its dashes and caps 2026-11-12 14:32:48 +00:00
aiongg d6b9cb66ae StrokeEditor: Illustrator's six dash and gap fields, no tall sample, and the panel as the default story 2026-11-12 14:32:48 +00:00
aiongg fe6e5ab066 NumberField: a content-sized field is as wide as its range's widest value and its adornments, without the number cell 2026-11-12 14:32:48 +00:00
aiongg e0aafa296e GradientEditor: the stop bar keeps room for whole midpoint diamonds above and below the ramp 2026-11-12 14:32:48 +00:00
aiongg d2ab04b6b3 StrokeButton: as wide as its sample and widest name, not a field wide 2026-11-12 14:32:48 +00:00
aiongg d4c257a3c1 TransformFields panel form: the compact reference point with X and Y on one row, and the two skews on one row, as the old 2026-11-12 14:32:48 +00:00
aiongg ea9e36a4db SymmetryHandles story: the guides and marks under the handles, as an app shows them 2026-11-12 14:32:48 +00:00
aiongg dbbed1e922 BrushSectionList: the gaps between groups are their gap tokens high, not a row each 2026-11-12 14:32:47 +00:00
aiongg 89b582dc46 BrushSettingsPanel: the bottom row spans the panel, so the stroke strip takes the room beside the buttons 2026-11-12 14:32:47 +00:00
aiongg 6381555400 RulerOverlay: a cross at each point in the line's look, as the old Ruler ends 2026-11-12 14:32:47 +00:00
aiongg 2da04d2145 Curves hint names the modifier alone (Ctrl-click, not Ctrl+-click); the threshold cut is solid accent; contour thumbnails inset by the curve's half width so the grid fills them 2026-11-12 14:32:47 +00:00
aiongg ac54d1bf29 CurveEditor trial: the fields and the hint show under the graph inside the editor's area 2026-11-12 14:32:47 +00:00
aiongg b61f71cdf2 Layer Style: the page title is plain; the Preview check box is the host's, in its button column (LayerStyleOutput::preview goes) 2026-11-12 14:32:47 +00:00
aiongg 4b1dbab419 Eyedroppers: the pipette with a dot of its tone (IconSpec::badge), so black, grey and white read apart; the three two-tone pipette icons go 2026-11-12 14:32:47 +00:00
aiongg 70a50f1f82 Threshold: the level is a line across the whole histogram (Histogram::cut), not a sample tick 2026-11-12 14:32:47 +00:00
aiongg a04eaadd67 Curve plots: the quarter grid is divider rules on the pixel grid; contour thumbnails paint in the curve preview's look through one preview painter 2026-11-12 14:32:47 +00:00
aiongg d6dcc3af68 Pins in the marker look: Blur Gallery pins, ring and lines white over the halo, Puppet Warp pins yellow markers with a dark edge; Marker::radius draws a ring at a given radius 2026-11-12 14:32:47 +00:00
aiongg e566475840 TimelineRuler: split-edit tags stay inside the ruler
A tag is centred on its bracket, which is shorter than a line of text, so
the audio tag hung below the ruler and leaves it under a larger text size
(the old ruler clipped its marks to its rect). The tag keeps its place
beside its arm, moved up or down only as far as it takes to stay inside.
2026-11-12 14:32:47 +00:00
aiongg 83622a18e4 RelinkDialog: the missing-clips table shows its four columns across the dialog
The table was sized from its content with only fill columns, so it took
its least width and cut every header. It takes the collection default
(Fill): under the dialog's content-sized body it measures from its content,
never sets the dialog's width and shows across it, its columns sharing that
width; its height stays its rows'. The rows take the collection's cell rects
(`cells`), so File Name, File Path and Status show in their columns.
2026-11-12 14:32:47 +00:00
aiongg 9b22aa4e0f Fill propagates down a column whose width is given
A content-sized inline container shown in a `Stack` body given its width
passes that width on to its own body: its children measure and show as in
a given column, so a child that fills (a fill-width row, a list, a divider,
a picture, a side-labelled control) takes the width, and the container
takes what its content took. A content-sized mount (dialog, popover, menu),
a row, a grid or a held container stops it, so their bodies stay content
columns and measure as before.

The env carries the fact as `given_column`, set by a `Stack` body that is
not a content column and listed in the measure key's env facts. No pass,
record or measuring run is added.

Panel roots that set `fill_width()` only to span their pane now take the
default: CharacterControls, ParagraphControls, TimecodePanel,
ReorderableSections and BlendIfBar each hold a fill child, and where they
sit in a content column (BlendIfBar in the Layer Style page) the column
around them hugs them either way.

The fill_column trial shows the given column, nesting, a row stopping it,
the hug kept in a popover, and the measuring-run count against a
fill-width column.
2026-11-12 14:32:47 +00:00
aiongg 43fce32f85 CellGrid merged-cell trial: the test model reports its last used cell 2026-11-12 14:32:47 +00:00
aiongg 243b86c23e CellGrid: headers a small control high, and the select-all mark in the corner
The column headers take the small control height at every density, as the old grid's did (size.control.sm). The corner between the headers shows the old's select-all triangle in its end-bottom, in the header text colour.
2026-11-12 14:32:47 +00:00
aiongg 260822bacf CellGrid: merged cells paint at sheet level, whole over the rows they span
A merged cell was painted by its first row inside that row's clip, so its text was cut and the rows below showed the grid's surface. The grid paints each merged cell in view over its whole rect, cut to each pane it shows in, with the same cell paint as a row's cells (CellPaint: background, the tint of its flags, gridlines, the app's paint). Its flags come from the grid's selection as the item step sets a row's cells'. Rows skip every cell inside a merge. PaintUi::clipped cuts a PaintUi to a rect, as Draw::clipped cuts a Draw.
2026-11-12 14:32:47 +00:00
aiongg 0fc7bc0355 Edge rules sit on the pixels just inside their rect
Rule::edge and Draw::edge_rule draw a rule along one side of a rect, moved in by half its width, so a row's bottom rule, a cell's gridline or a strip's edge is no longer drawn on the first pixel outside, where the next row's clip or the next cell's fill hides it. List rows (layer dividers, rule), CellGrid gridlines and header edges, tab dividers, the tile grid's pinned band, font cards and ruler strips use it, as do the pane, end-region, title bar, timeline header and outline band rules that offset by hand. CellGrid draws the old's header edges toward the cells, its gridlines in the divider colour, and the selected header's accent bar inside the header.
2026-11-12 14:32:47 +00:00
aiongg 7df7b0579c Slicer: the card pads its header and tiles 2026-11-12 14:32:47 +00:00