Commit graph

12 commits

Author SHA1 Message Date
Olivier Goffart
a74e5484b0 Live-Preview: use DragArea and DropArea 2025-06-26 15:39:18 +02:00
Tasuku Suzuki
346d1c2df3 Fix typos
Ran `typos .` and fixed all typos that do make sense.
https://crates.io/crates/typos
2025-01-13 08:35:20 +01:00
Tobias Hunger
498ef2a53c live-preview: Do not allow to drop anything onto an outdated preview 2024-12-09 13:26:41 +01:00
Tobias Hunger
bdf173d08c live-preview: Update the down-arrow icon
... using the chevron-down icon from the codicons
icon set.
2024-09-18 21:30:18 +02:00
Florian Blasius
a32b0ac6d0 live-preview: Refactoring of property editor ui code 2024-09-17 18:39:37 +02:00
Tobias Hunger
b01f0f926b live-preview: Add statusline with help text 2024-09-11 16:08:27 +02:00
Olivier Goffart
3a59950751 Experimental support for named callback parameters
And use that in the lsp/ui implementation instead of comments.

This is only a parser support for now, the name is otherwise unused.
Hence I rather keep that experimental.
2024-08-19 14:10:01 +02:00
Tobias Hunger
3f41b6f69d live-preview: Make component selection more robust
... by not relying on the component name, which could be used in several
files.
2024-07-17 17:52:12 +02:00
Tobias Hunger
11b0b75e71 live-preview: Fix drops being off by several (hundred!) pixels at times
We did not take the scroll view being scrolled into account, so the drop
location was off by a bit, especially for elements shown far down the list.
2024-07-17 17:16:50 +02:00
Tobias Hunger
a85a1cdca1 live-preview: Disable switching between Components
Disable switching components by clicking on the component name in the
library.
2024-07-16 14:20:27 +02:00
Simon Hausmann
16996dfa16 Fix flicker in the component list in design mode
Since the category items have different heights, the extrapolation of the listview to compute the correct scrollbar height will always be off, unless listview instantiated all items.

So let's do that by hand and use a ScrollView.
2024-07-12 09:13:55 +02:00
Florian Blasius
f32bec395b
Editor: Design Review fixes for library, properties and preview (#5604) 2024-07-11 16:36:57 +02:00