Commit Graph
2127 Commits
Author SHA1 Message Date
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
aiongg a1e11bbedc Slicer: height_for measures the card at a width; the story reserves that room 2026-11-12 14:32:47 +00:00
aiongg 5804589eaa Format the brush section list rows 2026-11-12 14:32:47 +00:00
aiongg e5188dd2bf NotesEditor: one paragraph layout for measure, hit testing and paint; the first line's text starts after a marker wider than its hanging indent 2026-11-12 14:32:47 +00:00
aiongg f2c8578964 Panel footers: a bar of panel actions draws the divider rule along its top edge; Panel's footer region draws none 2026-11-12 14:32:47 +00:00
aiongg 280f5cbdf7 Wells: the spelling suggestions, the file list and the recently used glyphs in a sunken well, and the notes editor in the text well 2026-11-12 14:32:47 +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 87034bb56b CompareTile: the well takes the picture's aspect with the caption under it; ring and veil on that well; compact read-only stars, marks dropped when they do not fit 2026-11-12 14:32:47 +00:00
aiongg 37ec553dd8 Access: a read-only value declares no Increment, Decrement or SetValue 2026-11-12 14:32:47 +00:00
aiongg 4aa4976fab Hidden labels with content show the content alone; Layers Panel Options shows each thumbnail size by its sample 2026-11-12 14:32:47 +00:00
aiongg 79c7732c40 NumberField: the unit follows the shown number, spaced as the language's unit template 2026-11-12 14:32:47 +00:00
aiongg 6c2d9f0baf BlendRows: Opacity and Fill end their rows in one column, a section gap before each caption 2026-11-12 14:32:47 +00:00
aiongg 4f37e8a432 ConditionBuilder rule rows and the FieldListPane footer wrap where the room is short, so selects and buttons keep their labels whole; a range's two ends and its "and" wrap as one 2026-11-12 14:32:47 +00:00
aiongg b64714e088 Rows narrow content made to be cut first: an eliding Text or Link (Component::cut_first) gives its room before a select or button label is cut, and an eliding Link's least is the ellipsis 2026-11-12 14:32:47 +00:00
aiongg fcdd810bbc Text: a wrapping text is never narrower than its widest word, so a row breaks it between words, not inside one 2026-11-12 14:32:47 +00:00
aiongg 5f9ef50498 Brush section list: rows pass every cell, so the link and heading rows' labels start at the row's start edge over the empty toggle columns 2026-11-12 14:32:47 +00:00
aiongg ec2c70e90f ChipField: the remove mark sits inside the chip's pill, at its end (Badge end_mark) 2026-11-12 14:32:47 +00:00
aiongg 6793a38425 List rows: the label band spans the toggle columns a row leaves empty next to it, up to the nearest toggle the row fills 2026-11-12 14:32:47 +00:00
aiongg c3644ee9dd PatternFillEditor: the Scale field shows its percent unit 2026-11-12 14:32:47 +00:00
aiongg d5d711068d Thumbnail-only picker fields as wide as the thumbnail and chevron: a select face showing its thumbnail alone keeps no text-field widths, and a thumbnail field with no preset shows an empty thumbnail; the export template select sized to its entries 2026-11-12 14:32:47 +00:00
aiongg a4d1587e69 Gradient chips: one 16:9 chip aspect and one chip look (swatch corners and ring) for the gradient swatch and the gradient palette cells 2026-11-12 14:32:47 +00:00
aiongg c8733e32be ColorStrip: pointers in the strip's own room
The strip takes a pointer's depth as padding on each side and paints its colours between, so both pointers show beside the area and nothing paints outside its rect.
2026-11-12 14:32:47 +00:00
aiongg a89e8ac7b5 Colour markers: one marker look for colour fields, wheels, discs and gradient stops
A white ring with a dark halo just outside it, so one of the two reads on any colour; filled with the colour it marks on the disc and the gradient line, accent when a gradient stop or end is selected, large for a disc's base colour and a gradient line's ends. PointPicker's ring, the wheel knobs, the ramp cursor, the disc markers and the gradient overlay's stops and ends draw it in place of their own rings.
2026-11-12 14:32:47 +00:00
aiongg dcaf0f0244 Table header: the header menu (Columns checks, Reset Columns, the column commands) on a secondary click on a header or the empty header, hidden columns kept in the header's memory and reported, and Ctrl or Cmd with Left or Right moving the focused column 2026-11-12 14:32:47 +00:00
aiongg 868c3ca47a Table columns: a Content column is as wide as its widest cell, which rows report from their measure; a double click on a column's edge fits it to its widest cell in view; MetadataTable's name column fits its names up to a third of the table 2026-11-12 14:32:47 +00:00
aiongg 2e4d8c6026 Table header: hover and press fills on the cells, the column edge's divider line, muted labels with the sorted one in normal ink, a tooltip per header, and the sort mark right after the label 2026-11-12 14:32:47 +00:00
aiongg 47508315ef craft-ui-shell: public embed hooks for apps with their own eframe App
shell::embed holds install (runtime plus fonts), before_input, logic and
before_ui, and CloseDecision. app::run's Driver calls the same hooks.
runtime::keys::with_window_intents is public: the host's read of the
window-level keys no component took. docs/craft-framework.md 2.2
describes the recipe and what install takes over. A trial drives its
own frame loop through the hooks alone.
2026-11-12 14:32:46 +00:00
aiongg 0f4b85a930 ui-contract and imaging build without the testing features
A consumer build of the craft facade has no dev-dependencies, so craft-ui's
testing feature is off. access.rs used pass_state outside its testing-only
import, the pass-local services listed the testing-only Elisions, and four
craft-imaging stories modules lacked the screen-testing gate.
2026-11-12 14:32:46 +00:00
aiongg 7665c90527 ThemeChip: the favourite star sits in a round raised badge in the top end corner, accent when a favourite, with the add or remove words as its tooltip 2026-11-12 14:32:46 +00:00
aiongg e4a8dfc2f8 FontsPanel details sheet: a press outside closes it and reaches nothing below 2026-11-12 14:32:46 +00:00