Commit Graph
1089 Commits
Author SHA1 Message Date
Dylan M. Taylor d368994b12 Merge pull request #3317 from dylanmtaylor/filmcraft/tab-wheel-remainder
tabs: a strip with wheel_selects keeps the wheel scroll short of a notch for the next pass
2026-11-24 12:52:52 -05:00
bflatastic b84413d7ba Merge remote-tracking branch 'origin/next' into fix/vc-look-r9 2026-11-24 22:37:03 +07:00
bflatastic c7ce7e5460 ui-widgets: ReferencePointLook::Squares fills the pick in the normal text ink and draws no sunken well or border, as production's locator; compact squares story 2026-11-24 22:21:42 +07:00
bflatastic 747dad4c1c ui-contract: CaptionInk, an env style value for the ink of a side label's name: Muted (default) or Normal, VectorCraft's field labels as production drew them; Field story field_caption_ink 2026-11-24 22:21:42 +07:00
bflatastic a81bc6fe77 dock group: beside PanelTabLook::Pill tabs the panel menu button stands in the strip's middle, level with the pills, as production's ≡ is centred in its cell; plain tabs keep it at the strip's top. Story and trial 2026-11-24 22:14:05 +07:00
bflatastic b3b2eaac4f tabs: DocumentTabLook::Semibold shows VectorCraft's document tabs, whole titles as Whole with the title and its * in the label's semibold face (Span::strong), measured as painted; a Semibold story 2026-11-24 22:10:58 +07:00
Dylan M. Taylor 36106c2b93 tabs: a strip with wheel_selects adds the wheel scroll short of a notch to the next pass, so small trackpad deltas switch tabs 2026-11-24 09:56:03 -05:00
aiongg 7762aab37b Merge pull request #3319 from aiongg/rc-next-regressions
Right-click on guides, rulers and the transform box; percent fields keep the caller's decimals; empty mixed font family
2026-11-24 09:48:54 -05:00
aiongg 64cec6a26a Merge pull request #3293 from aiongg/rc-dock-drag
Docking: one drop mark, the panel's name in the drop region, and Tile All in docked cells
2026-11-24 09:46:18 -05:00
aiongg f6290898c4 Merge remote-tracking branch 'upstream/next' into rc-next-regressions
# Conflicts:
#	crates/ui-contract/src/layout/mod.rs
#	crates/ui-shell/tests/it/shell/title_bar.rs
2026-11-24 13:35:21 +00:00
aiongg 290415fd4f Merge storytold next into rc-dock-drag 2026-11-24 13:26:57 +00:00
aiongg 00a3c21452 Merge storytold next into rc-tooltips-shake 2026-11-24 13:26:57 +00:00
bflatastic 2157b8afc8 Merge remote-tracking branch 'origin/next' into fix/vc-highlights-a 2026-11-24 20:00:44 +07:00
bflatastic 34e96f9325 ui-panels footer: DialogButtonLook::Filled shows Cancel, Other, Alternate and Alternative as the filled neutral button (buttons::FILLED, now public: surface.control with no edge, state.hover under the pointer) beside the accented answer. Footer story and trial under Filled 2026-11-24 19:38:28 +07:00
bflatastic 7cb5edfda4 ui-widgets segmented: a picked segment follows ActiveLook; under ActiveLook::Pressed it takes state.pressed with text.normal at rest, under the pointer and pressed, as an icon button that is on does; ActiveLook::Accent, the default, keeps state.selected with text.on_selected. Segmented story under Pressed 2026-11-24 19:38:21 +07:00
bflatastic 68cde01dc5 ui-widgets choice: ChoiceLook, a root style value; under ChoiceLook::Strong a check box, radio button or switch track that is on fills with accent.strong (pressed accent.strong_pressed, disabled unchanged) under a text.on_strong mark; ChoiceLook::Accent, the default, keeps accent.solid with text.on_accent. Check box and radio stories under Strong 2026-11-24 19:38:11 +07:00
bflatastic 09650e1d3d ui-contract style: TrackFill, a root style value; under TrackFill::Accent a slider's and a range slider's track fill the value's part in accent.solid (disabled text.disabled) on a line.outline groove; TrackFill::Muted, the default, keeps text.muted on line.control_edge. Slider story under Accent 2026-11-24 19:38:11 +07:00
bflatastic 6798a83eb9 theme, tabs, canvas panel: size.bar.tab_large, the height of large document tabs (today's size.bar.title in every size set), so large tabs no longer take the title bar's height; CanvasPanel gives its tab pane an extent, size.bar.tab or size.bar.tab_large with the new large_tabs prop, so a strip taller than its first measured height shows its tabs whole. Story canvas_panel_with_large_tabs. 2026-11-24 18:52:09 +07:00
bflatastic dc8b91f5f1 list, menu: CommandHighlight (an env style value, Accent by default) chooses how a menu's active row, a popup list's command row, the palette's active row and an open menu bar title show it; under Hover they paint state.hover with their own ink, as a row with an open submenu 2026-11-24 18:29:26 +07:00
bflatastic 9897901b67 Merge remote-tracking branch 'origin/next' into fix/vc-link-ink 2026-11-24 18:17:12 +07:00
bflatastic 9a41bd4b84 ui-contract, field labels: LinkLabelInk, an env value an app sets once at its root, draws a field's label shown as a link in text.normal (Neutral) instead of the link look's accent (Accent, the default); the underline stays. A free Link keeps the accent and takes Tone::Neutral for the same ink. Story field_link_label_ink shows both. 2026-11-24 18:14:41 +07:00
bflatastic 06e94d7321 tabs, dock: PanelTabLook::Pill shows a panel strip's shown tab on a filled rounded pill (surface.control, shape.radius.control, size.control.sm high in the middle of the strip; a hovered tab shows it too); TabStrip::panel_look and DockConfig::tab_look choose it, Plain by default 2026-11-24 17:59:45 +07:00
bflatastic 6e727dc6c6 Merge remote-tracking branch 'origin/next' into fix/vc-chrome-bars
# Conflicts:
#	crates/ui-widgets/src/buttons/mod.rs
2026-11-24 15:31:24 +07:00
bflatastic 0e41edc671 Merge remote-tracking branch 'origin/next' into fix/vc-chips-headers 2026-11-24 14:31:44 +07:00
aiongg 50a9ed02ae Right-click on guides, rulers and the transform box is theirs again; percent fields keep the caller's decimals; a mixed font family shows an empty field
- Guides and the rulers' strips and corner sense CONTEXT_CLICK, so a right-click opens their menu instead of reaching the tool host (the press machine gives a secondary press only to CONTEXT_CLICK shapes since 21e77e2b58).
- TransformBox::own_context_menu: the caller hangs a context menu on the box, and every part takes the right-click. TransformOverlay sets it for the whole-box reach, where it opens the mode menu.
- NumberField: a percent field's one-decimal default yields to the caller's fixed or maximum decimals, and shows none with commit_decimals(0) ("10%").
- FontPicker: a selection of several families leaves the family field empty, on screen and in its accessible value, as the reference applications do.
2026-11-24 07:25:06 +00:00
bflatastic 3238a3eca8 Merge remote-tracking branch 'origin/next' into fix/vc-buttons-fields 2026-11-24 13:51:33 +07:00
bflatastic 41a0679299 ui-widgets tests: the selectable-text trial names its canvas with Id::unique, not the deprecated Id::new 2026-11-24 13:50:32 +07:00
bflatastic 02d26c8cc0 bars: a bar's trailing group joins the body's fit; its ranked members leave, lowest rank first, before a body member narrows or leaves 2026-11-24 13:50:25 +07:00
bflatastic bbef5516c0 ui-widgets: the selectable text trial names its canvas with Id::unique, as egui deprecates Id::new 2026-11-24 13:48:36 +07:00
bflatastic 27493aca39 Merge remote-tracking branch 'origin/next' into fix/vc-keys-press 2026-11-24 13:38:53 +07:00
bflatastic cb367bccf3 menu bar: MenuTitlePad, the padding role of the titles an app sets at its root; Control sets them closer, as an app bar whose menus share the line with many controls 2026-11-24 13:38:50 +07:00
bflatastic 49d439d63d ui-widgets: a tile grid without card_columns asks for one card in a measuring run again (ebf925452, lost in the merge b138b533f), so a dialog pane sized from it holds its rows and the row under them: presses on the tiles, the button and the field beside it land on them 2026-11-24 13:33:04 +07:00
bflatastic 0aeb4251cc Filled push buttons follow PushButtonLook only when they ask for no variant
A component's default variant may now come from its scope (Component::default_variant, read from the env before
the style's first). A push or split button takes the filled variant there under PushButtonLook::Filled, outside a
ribbon, so a button that asks for Variant::SECONDARY, as VectorCraft's task bar actions do, keeps the outline.
2026-11-24 13:27:47 +07:00
bflatastic 17d8a34242 ui-widgets: the inline number trials share one field rig 2026-11-24 13:18:40 +07:00
bflatastic b808cac9fc labels: GlyphColon::Form gives a glyph caption (GlyphLabel::caption) a form's colon; draw's X/Y/W/H are captions 2026-11-24 13:10:03 +07:00
bflatastic 0d8d3f9c9a ui-canvas: TaskBar::member_gap(Gap) spaces the bar's members, through a new Bar::gap 2026-11-24 12:59:49 +07:00
bflatastic 45a8457c7b ui-widgets: DocumentTab::name_len, the label's name part, which a modified tab's mark follows: "Untitled-1* @ 93.5 % (RGB/Preview)" 2026-11-24 12:58:00 +07:00
bflatastic bb06692b13 ui-widgets, ui-panels: ActiveLook::Pressed shows an icon button that is on in the pressed fill with no accent edge; ToolRail::active_look gives it to the rail's buttons 2026-11-24 12:57:45 +07:00
bflatastic ddd2e3c4e6 Filled push buttons: an Emphasis::Filled look on a new surface.control token, and PushButtonLook for an app's default
A filled neutral tile with no edge at rest takes the hover fill and the control edge under the pointer and the
pressed fill with the accent edge under the press; disabled, it dims as a solid one does. surface.control follows
state.hover unless pinned, so only the VectorCraft Modern themes, which pin production's button fills, change.
An app sets PushButtonLook::Filled at its root to make it the default of its push and split buttons; a ribbon
keeps its flat look and toggles keep the outline.
2026-11-24 12:57:13 +07:00
bflatastic 0a31be98c3 ui-widgets: NumberPrecision::Measured shows a length to a thousandth of a point and a ten-thousandth of the larger units (357.114 pt) 2026-11-24 12:56:16 +07:00
bflatastic 269ce9d696 ui-widgets: NumberPrecision::Measured lets an app show whole percentages (60%) where the standard precision writes one decimal 2026-11-24 12:41:25 +07:00
bflatastic b21bc0e359 select: SelectLook::Quiet, a quiet box as wide as the entry it shows; WorkspaceSwitcher::look passes it on 2026-11-24 12:35:21 +07:00
bflatastic 8da5ec92a5 ui-widgets: NumberLook::Inline sets a number field's value and unit as one run at its start (720 pt, 0°, 100%) 2026-11-24 12:33:34 +07:00
bflatastic f2ee94bfc4 Merge remote-tracking branch 'origin/next' into fix/vc-theme-and-focus
# Conflicts:
#	crates/theme/tests/dumps/tokens/vectorcraft-modern-medium-dark-high-comfortable.txt
#	crates/theme/tests/dumps/tokens/vectorcraft-modern-medium-dark-high-compact.txt
2026-11-24 11:33:46 +07:00
bflatastic 0bf6239b0e Merge branch 'fix/grid-stacked-label-rows' into fix/vc-theme-and-focus 2026-11-24 11:33:23 +07:00
aiongg cfca45a97b docking: a tab drag names its panel inside the drop region, and a tab join marks the group as shown
A collection picks its row drag preview with one named option, RowPreview (Badge, Named, None), in place of the drag_badge flag. A dock tab strip takes Named, so a tab drag shows the panel's name inside the region a drop takes, as group, column and icon drags do, with no badge by the pointer.

A tab join marks the group under the pointer at its current size, with the tab line, as production did; other drops keep the rect the panels take once dropped.
2026-11-24 04:07:24 +00:00
aiongg c7dbf52f59 ui-contract: a tooltip keeps its text width in an inspector cell, a press hides it until the pointer leaves, and a sampled press does not nudge its modal
- Scoped::start_layer clears inside_label, cell_fills and least: a layer is outside its opener's flow, so the tooltip of a control beside an inspector label no longer fills the layer's cap of the window (photocraft#16593).
- A press on a tooltip's subject keeps the tooltip hidden until neither the pointer nor the keyboard is on it, so a popover the press opens is not covered. Tooltips shown at the pointer keep hiding only while pressed.
- A press the canvas a modal keeps open takes (a colour sampled under the Color Picker) is not a press outside that modal, so it neither nudges nor closes it.
2026-11-24 04:04:36 +00:00
bflatastic 7a01b71818 Merge remote-tracking branch 'origin/next' into vc/next-ci 2026-11-24 09:46:23 +07:00
bflatastic 9aa180d031 ui-contract: a press egui gives to a selection part's text takes focus through the press plan
A press on SelectableText has no winning framework shape, so the press plan was Unclaimed and egui's read-only
text widget took focus by itself: the focus record never saw a press, and Tab with tab_toggles_chrome on moved
focus instead of toggling the panels. A press no shape wins that egui gives to the widget of a press-only stop
now takes focus for that stop, so it records FocusOrigin::Press.
2026-11-24 09:13:59 +07:00
bflatastic 1b72220272 behavior: a grid's least probe keeps its Fill columns Fill, unbounded, so a field that fills its width there measures its own width instead of none; the fill column's least is then the field's, so a grid beside a menu no longer squeezes the field under it, stacks its label in rows measured unstacked, and overlaps the next row 2026-11-24 08:07:49 +07:00