Commit graph

170 commits

Author SHA1 Message Date
Florian Blasius
a32b0ac6d0 live-preview: Refactoring of property editor ui code 2024-09-17 18:39:37 +02:00
Tobias Hunger
e0426353a8
live-preview: Improve icons in hide/show sidebar buttons (#6128) 2024-09-13 09:06:02 -04:00
Tobias Hunger
86f2e397c9
live-preview: Prettify group component (#6127) 2024-09-13 08:11:31 -04:00
szecket
0bdf44b12f live-preview: Prettify the statusbar 2024-09-13 13:51:31 +02:00
Tobias Hunger
026e723029 live-preview: Add buttons to hide sidebars 2024-09-11 16:16:18 +02:00
Tobias Hunger
b01f0f926b live-preview: Add statusline with help text 2024-09-11 16:08:27 +02:00
Tobias Hunger
f5667b4d2b live-preview: Clean up icon handling 2024-09-11 13:22:04 +02:00
Tobias Hunger
8859be7695 live-preview: Hide resize elements in interactive mode
... by rendering the elements as transparent. They are still
there and work, so you can still resize, but you still get a
better view of your UI.

We still draw a border around the UI, just to show where
it ends and the background begins, but that is purely
decorative :-)

I am not totally happy wioth this: It still sets mouse cursors
in the area that should actually be controlled by the UI and
overlays its own touchareas around the border of the UI, stealing
a few pixels from the interactive area of the UI.
2024-09-11 09:55:18 +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
Florian Blasius
ed8b05548d
lsp-ui: apply ux feedback for headers (#5628) 2024-07-16 11:57:13 +02:00
Florian Blasius
96f2f15552
editor: added borders to groups (#5612) 2024-07-12 15:24:35 +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
Simon Hausmann
4c73006bf9 Remove stray imports of StyleMetrics
These are not needed AFAICS.
2024-07-12 09:13:35 +02:00
Florian Blasius
ca5ac29665 Editor: increase group header min height 2024-07-12 06:28:46 +02:00
Florian Blasius
86cde942b7 editor: fixed different bar heights 2024-07-11 20:07:47 +02:00
Florian Blasius
f32bec395b
Editor: Design Review fixes for library, properties and preview (#5604) 2024-07-11 16:36:57 +02:00
Florian Blasius
b573f1c7d8 Design Review: refactored lsp header 2024-07-10 21:09:57 +02:00