Commit graph

48 commits

Author SHA1 Message Date
Peter Kirmeier
cd57ed21b3 Fix wrong selection when right click context menu opens 2023-09-01 20:08:36 +02:00
Peter Kirmeier
ae6b12600c Use global style for all windows
Including foreground and background color, clear type rendering and using layout rounding
2023-09-01 17:34:42 +02:00
Markus Hofknecht
2087a3a947 font is not windows orig (but with TextOptions.TextRenderingMode="ClearType" TextOptions.TextFormattingMode="Display" it comes a lot closer to the original) 2023-09-01 13:46:54 +02:00
Markus Hofknecht
00b4a4459b font is not windows orig (but with TextOptions.TextRenderingMode="ClearType" TextOptions.TextFormattingMode="Display" it comes a lot closer to the original) 2023-09-01 12:51:15 +02:00
Peter Kirmeier
d39588b8c5 Disable virtualized rendering to include non-visible items into calculation
See: https://learn.microsoft.com/en-us/dotnet/api/system.windows.controls.virtualizingstackpanel.isvirtualizing
2023-08-22 19:49:52 +02:00
Peter Kirmeier
0f1f1748a4 Let the framework calculate text width of list entries
This will improve performance as less objects will be rendered for calculation.
Will also fix "flickering" of sub menu at wrong (not yet calculate) window position.
2023-08-21 20:05:31 +02:00
Peter Kirmeier
892b89e0e2 Scroll bar size calculated based on content again, however with a min-size 2023-08-20 22:38:28 +02:00
Peter Kirmeier
c9da13a35e Fix selection color to be default again as in v1 2023-08-20 21:08:36 +02:00
Peter Kirmeier
7ebccdf27c Do not take the shadow effect into account for size and position calculations 2023-08-20 16:18:40 +02:00
Peter Kirmeier
4ac3d1eb3a Fix wrong appearance in menu size and position when switching from loading menu to final sub menu 2023-08-20 14:03:58 +02:00
Peter Kirmeier
4b5e75180c Remove Padding from ListView default ControlTemplate
Ensures that the separator and ListView will always line-up on the right side correctly
2023-08-18 19:15:28 +02:00
Peter Kirmeier
e6d41beffc Applied some fixes..
Fix wrong loading status shown (e.g. "0 elements" instead of "loading")
Fix missing loading icon (animated blue circle)
Adjusted alignment of the scroll bar (aligns with the separator right above)
2023-08-18 18:20:21 +02:00
Peter Kirmeier
0143a0a690 Updated main menu controls' layout to be almost pixel perfect with v1 2023-08-16 22:45:43 +02:00
Peter Kirmeier
748d992727 Ensure shadow effect is visible
(As of now the shadow effect is generating a small gap between sub menus)
2023-08-16 21:31:48 +02:00
Peter Kirmeier
37dda6879f Reset selection when leaving menu and a sub menu is still open 2023-08-16 21:10:41 +02:00
Peter Kirmeier
56bf7b18dd Let list view and its entries stretch
Fix empty space next to the list when all entries require less space than other controls in same window.
Eg. the label "2 items" and the icon button (open folder) needs more space than list with one entry named "C".
2023-08-15 22:43:52 +02:00
Peter Kirmeier
c44ecd01d5 Remove label and use TextBlock directly that text can "fill" whole list entry 2023-08-15 22:43:52 +02:00
Peter Kirmeier
2afd604606 Use custom border for list view items to retain custom colors 2023-08-13 22:44:22 +02:00
Peter Kirmeier
a52897787e Remove border from search text box and set caret color with same as text color 2023-08-13 17:29:10 +02:00
Peter Kirmeier
8202a6c3cf Adjust generic size of textBox elements
Increased the size of the search bar icon (magnification glass)
2023-08-12 20:23:30 +02:00
Peter Kirmeier
1a34945a79 Adjust padding for list entries to match with v1
The 1px border is outside of the list view content that was inside on v1 before
2023-08-12 19:53:14 +02:00
Peter Kirmeier
a7a526700f Add transparency effect on button mouse over highlighting 2023-08-12 15:33:15 +02:00
Peter Kirmeier
de483c874c Refactored resource file management..
Remove use of resx file
Resource files are marked as "Resource" instead
Resources are loaded via resource dictionaries (either from code behind or XAML directly through binding)
Reduce amount of required image conversions

Also fix overlay of 50 percent transparency (is now rendered half transparent correct instead of adding "white fog")
Remove obsolete image as rendering is done directly in code

Also fix rendering of link indicator at correct image position

Also remove setting Icons of all Windows (as default is application icon anyway)
2023-08-12 02:33:11 +02:00
Peter Kirmeier
87fedfc7d5 Set text color for items accordingly to configuration 2023-06-03 21:46:41 +02:00
Peter Kirmeier
cd5ab5aa5c Simplified code
Fix potential issue of loading from wrong thread during startup
2023-05-15 22:34:17 +02:00
Peter Kirmeier
f73a674400 Change SelectionMode to Single for ListView 2023-05-11 00:14:05 +02:00
Peter Kirmeier
bb198a32db Rework ListViewItemData and RowData members
Improve UI updates due to unnecessary color and selection changes of menus' lists
Fix selection when going back to previous menu via key
2023-05-09 00:19:29 +02:00
Peter Kirmeier
189e45099c Fix row selection loss when using keys
Remove some old drag and drop code (feature might be added later again)
Refactored some events to work with Menu s instead of ListView s
2023-05-05 18:52:05 +02:00
Peter Kirmeier
3153032110 Refine loading of colors 2023-04-30 23:36:26 +02:00
Peter Kirmeier
ea8ed05c85 Replaced System.Drawing.Color with System.Windows.Media.SolidColorBrush 2023-04-30 22:42:25 +02:00
Peter Kirmeier
55fccd17d5 Initial use of colors for list items and buttons 2023-04-29 22:42:28 +02:00
Peter Kirmeier
40871c7e96 Fix and improve fading and transparency 2023-04-23 23:53:20 +02:00
Peter Kirmeier
c9ce4d1d21 Improve window size and position calculations
Fix several warnings
2023-04-16 20:17:24 +02:00
Peter Kirmeier
61e10bea00 Simplified menu initialization based on directory state 2023-04-16 15:45:47 +02:00
Peter Kirmeier
36cbd9f633 Keep using Window Resources for SVG images
App Resources are not loaded consistently by the Window designer
Also updating SVG image colors would not work without changing resource loading.
2022-12-04 22:03:57 +01:00
Peter Kirmeier
81e20d618b Refactored menu window fading
Improve TaskbarLogo (still flickers on load but only very shortly)
2022-12-04 01:24:30 +01:00
Peter Kirmeier
813912d08c Cleanup, refactoring and SVG package removed
Reenable dark mode colored SVG icons
2022-12-03 22:41:03 +01:00
Peter Kirmeier
ece80ebc3f Simplified menu creation 2022-12-03 21:23:19 +01:00
Peter Kirmeier
9fffebafa2 Lots of major improvements 2022-12-03 02:14:15 +01:00
Peter Kirmeier
ada694c611 Reenable scrolling (partially) 2022-12-01 00:16:30 +01:00
Peter Kirmeier
1f985c53aa Fix and extended use of mouse events
Add comments (tags) for all TODO markers
2022-11-29 22:48:45 +01:00
Peter Kirmeier
059b4cc73a Reenable Menu key command handler 2022-11-28 20:27:52 +01:00
Peter Kirmeier
885a5c85be Rework and port some events 2022-11-25 23:31:20 +01:00
Peter Kirmeier
8001a5324a Cleanup namespaces and hide icon to image conversion from XAML 2022-11-13 19:58:54 +01:00
Peter Kirmeier
384e2e1d74 Re-add rotating loading icon 2022-11-13 19:12:49 +01:00
Peter Kirmeier
ff75518e91 Fix unnecessary type cast
Reverted selection mode Single as it is currently failing
2022-11-10 00:18:21 +01:00
Peter Kirmeier
32e3813eb1 Correct height of row items 2022-11-09 23:34:27 +01:00
Peter Kirmeier
02ba400399 Baseline for version 2.x
Forms replaced with WPF
Migration not complete, yet
Known open points marked with TODOs
Limited and non-optimized feature set
2022-10-23 00:14:31 +02:00