Commit Graph
4333 Commits
Author SHA1 Message Date
aiongg b93ae97d69 PresetPicker: a face thumbnail painter the host gives for the closed field; BrushPresetPicker's chip shows the app's current tip 2026-11-16 18:18:10 +00:00
aiongg 6b6b0905ac Dock group: the panel menu button paints over the header's band; a workspace save without a layout does not load 2026-11-16 18:18:10 +00:00
aiongg b54fe562bc The canvas panel's rail is one rail column wide at the panel's end edge, so the document area runs up to it 2026-11-16 17:49:05 +00:00
aiongg 154fd9cb59 Rerun diagnostics: each pass that asks to run again logs what changed under craft_ui::rerun 2026-11-16 17:25:10 +00:00
aiongg e0ebaf4634 A row's line record holds the line it shared: a row centred in another height measures its line afresh, so a title bar in its slot sits in the slot; the Swatches panel fills its room and scrolls its own swatches 2026-11-16 17:25:09 +00:00
aiongg 8090388f3b Merge branch 'fw/det' into fw/mac1
# Conflicts:
#	crates/ui-widgets/src/bars/status_readout.rs
2026-11-16 16:48:00 +00:00
aiongg 1b376ba317 Merge branch 'fw/dlg-b' into fw/mac1 2026-11-16 16:47:54 +00:00
aiongg 5215f02eef Merge branch 'fw/dlg-a' into fw/mac1 2026-11-16 16:47:54 +00:00
aiongg 18f6bc55f8 List rows: trailing icon buttons rest in the quiet panel-rail glyph role 2026-11-16 16:47:13 +00:00
aiongg b7e972651b A row centres its line only in a fixed height: a rect, a pane or the row line it fills, not a fill share of its parent's room 2026-11-16 16:46:05 +00:00
aiongg 03cec5ea4f Status readout: info text in the muted shade 2026-11-16 16:45:16 +00:00
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 3829737b47 Trial: the stacked parameter layout stacks sliders and puts the buttons across the foot; Below keeps the button column 2026-11-16 16:42:19 +00:00
aiongg e8ec7b44ae A unit select names its unit once: the number field reads the unit's spellings without a suffix, and the unit lists show the units' names (Units::name) 2026-11-16 16:40:28 +00:00
aiongg a293456ced Section headings in Canvas Size, Print, Export As and Save for Web: Current Size and New Size with their file sizes, Printer Setup and the app's sections, File Settings, all bold under a rule 2026-11-16 16:39:29 +00:00
aiongg 265e4e33e5 Layer Style sliders sit on one line beside their label 2026-11-16 16:37:58 +00:00
aiongg b4810e927a Parameter sections show a bold title under a rule; radio groups keep their quiet caption 2026-11-16 16:37:58 +00:00
aiongg 592a757d30 ParamLayout::Stacked: stacked slider rows, the zoom row under the preview pane and the buttons across the foot, with its story 2026-11-16 16:37:58 +00:00
aiongg 68f7685b8e A form dialog's buttons go across the foot unless it asks for side buttons; Guide Layout, Layer Style and the Color Picker keep their button column 2026-11-16 16:37:51 +00:00
aiongg a2a7f492a2 Levels and Curves show the point picker row first, above the Channel select 2026-11-16 16:34:53 +00:00
aiongg 568b6ec337 Dock area: a group's padding reads its active panel's spec by reference; canvas scroll bars drop an unused import 2026-11-16 16:28:19 +00:00
aiongg d1b29f96ee Prompt buttons show plain labels; their letters still activate them 2026-11-16 16:28:09 +00:00
aiongg 7189821b26 A disabled solid button keeps its shape, dimmed 2026-11-16 16:27:51 +00:00
aiongg e6cc6225a6 Dialogs draw no scrim backdrop by default 2026-11-16 16:27:33 +00:00
aiongg 1dcf0f8a17 Gradient icon: add the suite drawing of PhotoCraft's gradient swatch that icons.toml names 2026-11-16 16:26:39 +00:00
aiongg 1d8c7d13a2 Merge branch 'fw/mac1-bars' into fw/mac1
# Conflicts:
#	crates/ui-contract/src/contract/body/hooks.rs
#	crates/ui-shell/src/shell/app_shell.rs
#	crates/ui-shell/tests/it/shell/app_shell.rs
2026-11-16 16:25:37 +00:00
aiongg 1cf223ebbc Merge branch 'fw/mac1-edges' into fw/mac1 2026-11-16 16:20:25 +00:00
aiongg 9e0f746710 Merge branch 'fw/mac1-dock' into fw/mac1 2026-11-16 16:20:25 +00:00
aiongg b32bb77e61 Dock area: a document panel's body is shown edge to edge, without the panel inset 2026-11-16 16:14:25 +00:00
aiongg 73d19e15d9 A gradient swatch among a bar's members is a short length wide 2026-11-16 16:14:04 +00:00
aiongg 49258624fc Inspector and Text Styles panels take no padding of their own: the dock group insets them 2026-11-16 16:13:59 +00:00
aiongg dc41b3dbe3 Shell slots choose their region before naming it; exhaustive pad edges 2026-11-16 16:13:37 +00:00
aiongg d5929d22a0 PresetPicker gains a compact Chip field: a small thumbnail over its caption on no well, sized for a bar's line; the brush preset picker uses it. PaintBarWords drop Size and Hardness 2026-11-16 16:13:33 +00:00
aiongg 7cd391de7e One floating scroll indicator for every scroll area
ScrollBarLook is one look: a clear track and a thin dim thumb line along the track's outer edge
at rest (stroke.thick), the whole track thickness (handle.sm) over a tinted track under the
pointer or while pressed. The docked kind (chrome track, edge rule, inset thumb) goes:
canvas and timeline bars take the same look. CxCore::scroll_bar_state gives a bar's state,
hovered while the pointer is anywhere on the bar, for every painter of a bar.
2026-11-16 16:12:12 +00:00
aiongg b3124fb9f2 Gallery: docked bodies leave their padding to the dock group 2026-11-16 16:12:04 +00:00
aiongg 88df0b40ee Dock area: every docked body fills its group inset by the panel padding 2026-11-16 16:10:57 +00:00
aiongg b47e5a28c7 TypeBar's size field shows the size glyph of the Character panel's size row 2026-11-16 16:10:08 +00:00
aiongg 718d054ecf A title bar end with no captions keeps its content the regular pad off the window's edge 2026-11-16 16:09:19 +00:00
aiongg 3250b5a213 Gradient styles show production's icons 2026-11-16 16:08:34 +00:00
aiongg 0e7ac68d43 CropBar: no Angle field, a labelled Straighten toggle, "Background (default)" 2026-11-16 16:07:54 +00:00
aiongg 23de14acd3 Hex fields show their # as the side label of their row: the Color readout, the compact and the full picker 2026-11-16 16:06:31 +00:00
aiongg aca39c7347 The status readout shows the document's resolution after its dimensions, and its zoom field has no glyph label 2026-11-16 16:06:08 +00:00
aiongg 60bdf15129 ToolRail fits its slot: block padding, a rail-width column per column with the buttons centred, toggles on one line
ContainerProps gains pad_edges (PadEdges::Block pads top and bottom only) and LeastWidth::Rail
(size.rail.width per column). ToolRail pads only above and below, is at least its columns'
rail width wide, and centres its grid of buttons, so no button or corner mark reaches past the
slot. The column and side toggles share one header line as small control-glyph buttons that
touch, which fits two in one rail column. A container's child_size and child_glyphs reach its
header and footer as well as its body, so a rail's footer buttons show the rail's glyphs.
AppShell::tools takes the rail's column count, so a two-column rail gets a two-column slot.
2026-11-16 16:05:13 +00:00
aiongg 4d1063b6dc PaintBar follows the Pro options bar: pen toggles, rules, no size or hardness fields; bar Home and tool buttons at the standard control size 2026-11-16 16:04:10 +00:00
aiongg 4a1f0e7494 Dock group: import Tokens for the drag band width 2026-11-16 16:03:34 +00:00
aiongg e99c005219 Dock group: the drag band at the strip's end is an icon's room with panel padding, so long tab names shrink 2026-11-16 16:03:28 +00:00
aiongg 8296832417 A field takes its content width among a bar's members
ContainerProps::content_in_bar keeps a container from the width in a bar; Field sets it, and an explicit sizing
clears it. The Content sizing every bar set on its fields is gone.
2026-11-16 16:02:09 +00:00
aiongg e86e041e13 Dock area: a group view lays out in a Ui held to its group's rect and clipped to it 2026-11-16 16:00:29 +00:00
aiongg 81078945af A row given its height centres its line; a fill-width row on that line fills it; top and bottom shell panes lay their bar on one line
A container given its height whose body is an unwrapped row sets the row's line at the middle of its band and
pads only along the line. A fill-width container with a row body on such a line is given the line's height, so a
bar in a top or bottom slot fills the slot. A container whose first line is its own row's line sits on an outer
row's line by it even with a child of two lines. The shell's top and bottom panes lay their content out as a row;
the egui centring wrapper and the slot's surface under the bar are gone.
2026-11-16 15:59:53 +00:00
aiongg 4816295631 Shell edge panes paint chrome and the rule toward the body; the window paints the background
Every shell slot but the title is a chrome pane: its surface covers the whole pane, so a rail
shorter than the window leaves no band of the clear colour, and a divider runs along its edge
toward the body (rails, options bar, status bar, the canvas panel rail). The edge rule is drawn
by the pane itself; PanelRail's own rule and the env's enclosing pane edge go. The window root
paints the background surface and the document tabs pane sits on it.
2026-11-16 15:55:32 +00:00