Commit Graph
5619 Commits
Author SHA1 Message Date
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
aiongg 26b776712a Collections paint the surface their props name, under the header and rows, as containers do 2026-11-12 14:32:47 +00:00
aiongg d96bb82fe6 EdgePicker: the square at the large thumbnail side, room for its lines inside the inset 2026-11-12 14:32:47 +00:00
aiongg cf1ce5e02c PageSetupDialog: each section under its rule and heading, its fields in one label column 2026-11-12 14:32:47 +00:00
aiongg 34ed70f50b PageList: no column header row, as the Layers panel's artboard rows 2026-11-12 14:32:47 +00:00
aiongg b1a447052d Pasteboard: a page casts the floating surface's soft shadow; the offset copy only in a turned view 2026-11-12 14:32:47 +00:00
aiongg a2ce6e6881 FieldListPane: title and hint over the checklist, the areas as sunken tiles two by two 2026-11-12 14:32:47 +00:00
aiongg f06b238b7b ConditionBuilder: a nested group sits in a frame with its remove button 2026-11-12 14:32:47 +00:00