Commit graph

16 commits

Author SHA1 Message Date
Olivier Goffart
3e94bd2167 Janitor: Remove trailing whitespaces from all files
`git grep -I -l -O'sed -i "s/[[:space:]]*$//"' -e ''`
2025-01-10 13:23:22 +01:00
Tobias Hunger
48c1909fb0
live-preview: Remember filter settings in selection popup (#7178) 2024-12-20 08:03:45 +13:00
Tobias Hunger
93edeebe2c
live-preview: Fix filter in selection popup being init to empty (#7177)
... till the filter button is pressed for the first time.
2024-12-20 06:58:52 +13:00
Tobias Hunger
cd4bab3f5b live-preview: Make filter in selection popup behave better
... more like a ContextMenu.
2024-12-19 18:14:47 +01:00
szecket
bf66b9756f
hack to keep focus as hover steals it (#7093) 2024-12-13 16:59:15 -05:00
szecket
5f8c88e0ec just moved the filterlist touch area so it catches hover from the button 2024-12-13 15:12:35 -05:00
Tobias Hunger
da7ba2f99c
live-preview: More filter options in Selection Popup (#7070)
* live-preview: More filter options in Selection Popup

* Hide layouts,
* Hide interactive elements
* Hide others

@szecket did a lot of UI polish that I just merged here
so that I do not need to show what I made!

* live-preview: Remove TouchArea suffix
2024-12-13 10:51:28 +13:00
szecket
767bb234ff
pixel peeped some padding (#7056) 2024-12-10 15:28:46 -05:00
szecket
ba4b3cf5b4
change the icon, recolor and reposition it (#7053)
* change the icon, recolor and reposition it

* added filter and removed search duplicate
2024-12-11 08:58:57 +13:00
Tobias Hunger
4d309f69ba live-preview: Filter in Selection Popup
Add a filter into the Selection popup to filter out
anything not matching.

If all letters are lowercase, then it will do a case-insensitive
match, if there are non-lowercase characters it will do
case-sensitive matching instead.
2024-12-10 18:21:41 +01:00
Tobias Hunger
326758b8d0 live-preview: Elide text in the selection popup 2024-11-25 22:52:41 +01:00
szecket
613b2982f1
experiment for highlighting UX (#6837)
* experiment for highlighting UX

this works really well but ideally goes back to what was selected before right click OR the selection actually moves rather than the hover color

* live-preview: Unselect in SelectionPopup again

When un-hovering some item to preview it's selection,
switch selection back to the original selection.

---------

Co-authored-by: Tobias Hunger <tobias.hunger@slint.dev>
2024-11-23 02:57:08 +13:00
szecket
db83921f1d hover change and position of window 2024-11-19 20:20:14 +01:00
szecket
0aed233f55 live-preview: move filename and lock height 2024-11-19 20:20:14 +01:00
Tobias Hunger
f5682ea2e8 live-preview: Fix height calculation 2024-11-19 20:20:14 +01:00
Tobias Hunger
004ade9d44 live-preview: Implement a UI for the selection stack 2024-11-19 20:20:14 +01:00