Zhang Dian
445c8217c8
Turn on .slnx & CPM ( #844 )
...
* feat: turn on .slnx & CPM.
* misc: format codes.
2025-12-29 16:09:29 +08:00
Copilot
e54474b0f9
Implement ItemSpacing and LineSpacing in ElasticWrapPanel ( #843 )
...
* Initial plan
* Implement ItemSpacing and LineSpacing support for ElasticWrapPanel
Co-authored-by: rabbitism <14807942+rabbitism@users.noreply.github.com >
* Add demo tab showcasing ItemSpacing and LineSpacing
Co-authored-by: rabbitism <14807942+rabbitism@users.noreply.github.com >
* Add additional test for ItemSpacing affecting line wrapping
Co-authored-by: rabbitism <14807942+rabbitism@users.noreply.github.com >
* feat: add bindings for IsFillHorizontal and IsFillVertical in ElasticWrapPanelDemo
* Fix measure/arrange mismatch by tracking spacing in UVCollection
Co-authored-by: rabbitism <14807942+rabbitism@users.noreply.github.com >
* feat: add ItemSpacing & LineSpacing FormItems.
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: rabbitism <14807942+rabbitism@users.noreply.github.com >
Co-authored-by: Dong Bin <popmessiah@hotmail.com >
Co-authored-by: Zhang Dian <54255897+zdpcdt@users.noreply.github.com >
2025-12-16 20:39:50 +08:00
Alexander Prokhorov
6f7db1c20c
Added IconRepeatButton, IconDropDownButton, IconSplitButton, IconToggleButton, IconToggleSplitButton ( #834 )
...
* Added IconRepeatButton (#812 )
* Replaced control-specific PART_RootPanel workaround with AffectsArrange call fixing ReversibleStackPanel for the whole application.
* Added IconToggleButton (#812 )
* Split IconRepeatButton into separate XAML file.
* Added IconSplitButton (#812 )
* Added BindableClasses utility to allow propagating Classes property between controls. Avalonia currently doesn't support binding from Classes property, and binding to Classes property is heavily restricted.
* Added IconToggleSplitButton (#812 )
* Fixed tab order in IconSplitButton and IconToggleSplitButton (DockPanel messes up tab order, TabIndex is global and makes it even worse, so just switched to Grid).
* Added IconDropDownButton (#812 )
* Fixed IconPlacement inheritance.
* Added redesigned IconButton demo section (#812 )
* Fixed spacing issues
* Added redesigned demo sections for the newly added icon buttons (#812 )
* Replaced BindableClasses with ClassHelper. Fixed styling of default solid split icon buttons. (#812 )
* Replaced IIconButton with attached-like property getters and PseudolassesExtensions.Set(Classes); fixed arrow alignments in top/bottom split icon buttons (#812 )
* Applied fixes suggested by Copilot in code review (#812 )
* Fixed incorrect base type of IconDropDownButton (#812 )
* Fixed IconSplitButton and IconToggleSplitButton styles (#812 )
* Fixed secondary button color in checked state
* Fixed applying of CornerRadius
* Changed secondary button to square
* Simplified template
* Disabled demo of Colorful theme for IconSplitButton and IconToggleSplitButton
2025-11-27 22:42:42 +08:00
Dong Bin
a4906d5130
Fix wasm deployment issue ( #827 )
...
* fix: update wasm-tools installation
* fix: add TrimmerRootAssembly for WASM optimization
* fix: update project to target .NET 10 and adjust deployment settings
* fix: add TrimmerRootAssembly for Ursa.Demo to improve WASM optimization
* fix: avoid Window based dialog crash on non-supported platforms.
2025-11-17 11:24:07 +08:00
Zhang Dian
814226651f
misc: bump version. ( #824 )
2025-11-15 16:06:07 +08:00
Zhang Dian
fa94841ab9
feat: add AI style for IconButton. ( #823 )
...
* feat: add AI style for IconButton.
* feat: update package references for CommunityToolkit.Mvvm, Semi.Avalonia, and add SkiaSharp.
2025-11-15 15:37:25 +08:00
Copilot
6941cef2a7
Add Int64Displayer control for long type support ( #811 )
2025-11-07 21:35:52 +08:00
Zhang Dian
d495c98967
feat: implement JumpTo command in ApplicationViewModel and update navigation handling. ( #803 )
2025-10-23 14:58:22 +08:00
Copilot
9c014f37be
Improve Introduction page with condensed layout and 20+ diverse controls ( #790 )
...
* Initial plan
* Improve Introduction page with diverse simple controls
Co-authored-by: rabbitism <14807942+rabbitism@users.noreply.github.com >
* Make layout more condensed and add requested controls
- Reduced spacing and padding throughout (20->12 margin, 16->10 padding, 8->6 spacing)
- Reduced section title size (16->14)
- Changed from 2-column to 3-column grid layout for better space utilization
- Added all requested controls: IPv4Box, MultiComboBox, MultiAutoCompleteBox, NumericUpDown, RangeSlider, TagInput, TreeComboBox, DateRangePicker, DateTimePicker, TimeRangePicker, ToolBar, Marquee
- Updated ViewModel with properties for new controls
- Made controls smaller (using Small classes where available)
Co-authored-by: rabbitism <14807942+rabbitism@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: rabbitism <14807942+rabbitism@users.noreply.github.com >
2025-10-22 21:01:30 +08:00
Dong Bin
dcaef1c8ed
[New Control] Descriptions ( #791 )
...
* feat: add ColumnWrapPanel.
* feat: add Descriptions and DescriptionsItem controls
* WIP: extract a LabeledContentControl for this particular need.
* wip.
* feat: setup demo. fix various initial status issue.
* fix: fix a layout issue.
* feat: improve demo.
* feat: update demo.
* fix: remove a redundant calculation.
* feat: update per copilot feedback.
* feat: add tests, fix a calculation issue.
* feat: refactor to change the default label and value binding assignment logic.
* feat: introduce orientation.
* misc: format codes.
* feat: clarify LabelPosition property.
* feat: extract Font resources.
* revert AvatarDemo.
* feat: assign specific value to Font resources for testing.
* misc: resolve copilot comment.
---------
Co-authored-by: Zhang Dian <54255897+zdpcdt@users.noreply.github.com >
2025-10-22 20:49:02 +08:00
copilot-swe-agent[bot]
75d5e86877
Replace AutoCompleteBox demo data with ControlData
...
Co-authored-by: rabbitism <14807942+rabbitism@users.noreply.github.com >
2025-09-19 10:23:11 +00:00
Dong Bin
89c749c624
Merge pull request #775 from irihitech/clean
...
clean up controls XAML files
2025-09-19 16:45:50 +08:00
Zhang Dian
700e512b8b
Merge pull request #768 from irihitech/multi-auto
...
New Control: MultiAutoCompleteBox
2025-09-17 20:09:22 +08:00
rabbitism
fe9cc21a65
Merge remote-tracking branch 'origin/multi-auto' into multi-auto
...
# Conflicts:
# demo/Ursa.Demo/Pages/MultiAutoCompleteBoxDemo.axaml
# demo/Ursa.Demo/ViewModels/MultiAutoCompleteBoxDemoViewModel.cs
# src/Ursa.Themes.Semi/Controls/MultiAutoCompleteBox.axaml
2025-09-17 01:02:36 +08:00
Zhang Dian
83e3334c71
misc: simplify Shared namespace reference.
2025-09-16 20:23:41 +08:00
rabbitism
051710affe
feat: throws when collection is not initialized.
2025-09-16 20:18:28 +08:00
rabbitism
0173ee7c9c
feat: implement inner content interface.
2025-09-16 19:20:02 +08:00
Zhang Dian
68cdd4609f
fix: remove MinHeight & fix TagInput Foreground.
2025-09-16 19:03:58 +08:00
杨劼
be08931b47
修复 ImageViewer.Source 设置为null会报错的问题
...
修复 https://github.com/irihitech/Ursa.Avalonia/issues/680
2025-09-16 18:02:37 +08:00
rabbitism
4f93801e77
feat: working on selection. add a demo to AutoCompleteBoxDemo to show the keyboard navigation actually changed selection.
2025-09-14 10:57:37 +08:00
rabbitism
8ec815c885
feat: improve demo. make textbox interactive.
2025-09-14 10:39:05 +08:00
rabbitism
9f71b5f382
feat: add demo page.
2025-09-14 10:00:23 +08:00
Dong Bin
c62015a70a
Merge pull request #752 from yangjieshao/main
...
修复了NumPad对NumericUpDown和IPv4Box的支持
2025-08-29 17:07:03 +08:00
Dong Bin
da93b01c14
Merge pull request #749 from Samuel-B-D/fix-multicombobox-items-in-axaml
...
Fix MultiComboBox to works with items added in axaml
2025-08-29 01:30:52 +08:00
Samuel Bergeron-Drouin
ca3e78c3a7
Fix runtime crash when adding controls (anything other than MultiComboBoxItem with text content) to a MultiComboBox in axaml
2025-08-25 10:30:56 -04:00
杨劼
f9fb8cb8ae
NumPad 修复了 官方NumericUpDown对NumPad不响应的问题
...
NumPad 修复了 当Target不是TextBox的时候,NumPad上的Delete和Back不响应的问题
IPv4Box 修复了 由于失去焦点所以对 NumPad 不响应的问题
2025-08-20 12:19:03 +08:00
Samuel Bergeron-Drouin
ff3020223c
cleaner demo
2025-08-18 15:14:56 -04:00
Samuel Bergeron-Drouin
976ddc4a5e
Fix MultiComboBox to works with items added in axaml
2025-08-18 15:08:42 -04:00
望尘空忧
c631c9a871
feat:Add several predefined SizeAnimations.
2025-08-18 23:11:02 +08:00
望尘空忧
df23e6263c
misc:Rename WHAnimationHelper to SizeAnimationHelper to make its purpose immediately clear and eliminate any ambiguity caused by the cryptic “WH.”
2025-08-18 22:06:47 +08:00
望尘空忧
b9e104a8b8
feat:Redesign the usage pattern of WHAnimationHelper once more to deliver a superior axaml editing and consumption experience.
2025-08-10 16:37:03 +08:00
望尘空忧
c801c4eec4
misc:Refactor the WHAnimationHelper class structure to clearly define its responsibilities.
2025-08-10 00:00:30 +08:00
望尘空忧
bb7873ef66
feat:Implements subtle animations for the NavMenu in a non-intrusive way.
2025-08-09 23:10:47 +08:00
Zhang Dian
0a684ec70f
misc: bump version.
2025-07-11 20:13:42 +08:00
Zhang Dian
0524c9e16e
Merge pull request #718 from irihitech/anchor
...
New Control: Anchor
2025-07-10 20:51:35 +08:00
Zhang Dian
3ae76efd45
feat: update AnchorItem Padding Converter.
2025-07-10 19:55:34 +08:00
Zhang Dian
b304d585bd
feat: enhance Anchor styles.
2025-07-10 19:07:59 +08:00
Dong Bin
2402443383
misc: change icon.
2025-07-10 14:01:23 +08:00
Dong Bin
d360ca9ef0
feat: rename AnchorId to Id and add TopOffset property. Add headless tests.
2025-07-10 11:21:47 +08:00
Dong Bin
dbc41249d8
feat: implement tree like visual.
2025-07-04 16:09:33 +08:00
Dong Bin
817eb9acc9
feat: WIP.
2025-07-03 23:06:22 +08:00
Dong Bin
6deccdc1ac
feat: add mvvm demo.
2025-07-02 22:31:16 +08:00
Dong Bin
881b9ca7d3
feat: implementations.
2025-07-02 12:12:09 +08:00
Dong Bin
405d283c10
Merge pull request #708 from irihitech/dualbadge
...
enhance DualBadge styles
2025-07-01 21:03:12 +08:00
Zhang Dian
a5937f684a
feat: update DualBadge styles.
2025-06-25 17:13:20 +08:00
Dong Bin
9684cb8cb7
Merge pull request #694 from irihitech/iconbutton
...
enhance IconButton styles and add new button examples
2025-06-24 23:15:19 +08:00
Zhang Dian
35b122b4e9
feat: enhance IconButton styles and add new button examples.
2025-06-05 21:06:51 +08:00
Zhang Dian
447629170b
feat: simplify VM initialization.
2025-06-04 17:12:54 +08:00
Zhang Dian
5d5c439cb0
misc: remove unused ViewModel references from demo pages.
2025-05-31 23:07:29 +08:00
Zhang Dian
138acfe4a9
feat: add new video link to AboutUsDemoViewModel.
2025-05-30 19:57:14 +08:00