Commit Graph

631 Commits

Author SHA1 Message Date
Soar360
7a32a677a4 Fix #478 2024-11-19 11:41:08 +08:00
Zhang Dian
96905bb189 Merge pull request #482 from irihitech/form
Form Dynamic Generation
2024-11-15 23:15:24 +08:00
Dong Bin
8fe15b2a56 Merge pull request #480 from WCKYWCKF/new-control
Add a new control AspectRatioLayout
2024-11-15 02:08:39 +08:00
望尘空忧
06ba9af1d0 1.rename AspectRatioChangeAmbiguity to AspectRatioTolerance
2.CurrentAspectRatioModeProperty to DirectProperty.
3.Fix misspelling: Updata -> Update
4.IsUseAspectRatioRange to an internal CLR property.
2024-11-13 20:19:44 +08:00
望尘空忧
4bfaab3f3d Feature: Added a Range selection mode by aspect ratio value. 2024-11-13 19:14:12 +08:00
望尘空忧
60ba488219 fix:Go to AspectRatioLayout demo and go to another and go back, the demo will crash. 2024-11-13 06:14:08 +08:00
rabbitism
2bb79ef69f feat: support dynamic form group generation, add demo. 2024-11-13 02:24:21 +08:00
rabbitism
27a3e5fb41 feat: revert mask animation for dialog. 2024-11-13 00:34:21 +08:00
rabbitism
9b3be2d44e feat: add DialogFocusHint attached property. 2024-11-13 00:31:15 +08:00
望尘空忧
1151639635 Add a new control AspectRatioLayout 2024-11-12 23:58:41 +08:00
Dong Bin
b066a7d1c7 Merge pull request #465 from irihitech/issue-422
New Dialog/Drawer/MessageBox option: StyleClass
2024-11-11 23:46:53 +08:00
rabbitism
c57bf10511 feat: support multiple classes, improve unit tests. 2024-11-06 23:22:17 +08:00
Dong Bin
ff103b19a1 Merge pull request #469 from irihitech/pincode
PinCode support paste
2024-11-06 20:30:14 +08:00
rabbitism
186424b848 fix: fix warnings in test related code. 2024-11-06 18:44:49 +08:00
rabbitism
6ef0cf9e1c feat: support paste. 2024-11-06 14:38:39 +08:00
Easley
d58d9e9056 Accessibility suppport for MultiComboItem 2024-11-05 10:04:43 +08:00
rabbitism
ee707cd977 feat: add styleClass as an option to Dialogs. 2024-11-03 01:19:42 +08:00
rabbitism
1ca4a5a10a fix: fix breadcrumb insertion issue. 2024-11-01 12:02:18 +08:00
望尘空忧
93a19e73e6 Fixed: Closing a dialog returns TView to the user instead of occupying its parent. 2024-10-31 09:01:59 +08:00
Weihan Li
fe34105fe7 update compile condition 2024-10-27 09:57:30 +08:00
rabbitism
1991f52980 feat: simplify code with switch. 2024-10-22 22:18:55 +08:00
rabbitism
dd3cebe66f feat: fix various issue upon click or tab. 2024-10-21 22:39:36 +08:00
rabbitism
8bd1962b15 feat:
1. fix #427.
2. add headless test for this fix.
2024-10-08 20:58:40 +08:00
Dong Bin
2bce32ae97 Merge pull request #419 from irihitech/loading
Introducing background and foreground for LoadingContainer
2024-09-22 19:12:09 +08:00
LUJIAN2020
f57b882924 Update OverlayDialog.cs
DataContext repeated assignment
2024-09-22 10:56:59 +08:00
rabbitism
34811c6884 feat: fix loading animation issue. 2024-09-21 19:27:05 +08:00
rabbitism
054ab858b4 fix: fix loading type. 2024-09-20 23:04:26 +08:00
rabbitism
150ff5410a feat: introducing background and foreground setting for loading container. 2024-09-20 23:02:36 +08:00
rabbitism
f5c772679b feat: change resizer default direction. 2024-09-18 16:22:39 +08:00
rabbitism
381c90a7b7 fix: fix initial thumbs' visibility. 2024-09-18 15:42:32 +08:00
rabbitism
c712a9faa5 fix: fix northwest resizing. 2024-09-18 11:53:28 +08:00
rabbitism
dccb3c029c Refactor and optimize overlay dialog handling and resizing logic
- Remove unused `_moveDragging` variable in `OverlayFeedbackElement.cs`
- Rename private static animations to follow PascalCase in `OverlayDialogHost.Shared.cs`
- Simplify and streamline `ClickMaskToCloseDialog`, `OnPointerMoved`, `OnPointerPressed`, and `OnPointerReleased` methods in `OverlayDialogHost.Dialog.cs`
- Remove redundant null checks and streamline method calls in various files
- Optimize `_moveDragging` logic and pointer event handling in `DialogControlBase.cs`

This commit enhances readability, maintains consistency in naming conventions, and optimizes the code for better performance and clarity.
2024-09-18 02:37:17 +08:00
rabbitism
5799646488 Refactor and enhance overlay feedback handling
- Promote `_containerPanel` to a protected property for better accessibility
- Extract `CoerceDelta` method to centralize constraint logic
- Implement `AnchorAndUpdatePositionInfo` across dialog controls for consistent positioning behavior
- Adjust margin binding for `DialogResizer` to include parent border margin
- Simplify pointer movement calculations and conditional checks
2024-09-18 02:08:58 +08:00
rabbitism
219ead2172 Add CanResize property to drawers and dialogs with corresponding UI controls
This commit introduces a new `CanResize` property to `DrawerOptions`, `OverlayDialogOptions`, and their respective controls. It also adds UI resizing functionality through the `DialogResizer` control, with styles adjusted to support different drawer positions. Code formatting and organization have been improved for readability across modified files.
2024-09-17 23:06:00 +08:00
rabbitism
c512cb6e13 Add resize functionality and improve dialog controls
This commit introduces the ability to resize dialogs by adding `CanResize` properties to dialog options and control classes. It also refines dialog controls' behavior and layout, ensuring consistent resizing capabilities across different dialog types. Additionally, it enhances the overlay feedback element's positioning logic and updates the resizer's appearance and visibility handling.
2024-09-17 22:44:35 +08:00
rabbitism
a70f7205e9 feat: support dialog resize. 2024-09-17 21:10:54 +08:00
rabbitism
4964289159 feat: Resize activation now requires left mouse button press. 2024-09-17 17:14:51 +08:00
rabbitism
cd39edb5f1 feat: add window resizer for Ursa. 2024-09-16 13:31:25 +08:00
Dong Bin
927f4121b4 Merge pull request #401 from irihitech/dialog
Introduce IsTopLevel to OverlayDialogHost
2024-09-12 18:55:59 +08:00
Dong Bin
dc80d80337 Merge pull request #398 from irihitech/toast
New Control: Notification & Toast
2024-09-12 18:55:40 +08:00
Zhang Dian
850339f324 feat: enhancement. 2024-09-12 18:48:26 +08:00
rabbitism
ea385ee194 feat: support uninstall. 2024-09-12 18:38:27 +08:00
Zhang Dian
a054d17fd7 fix: remove Manager OnDetachedFromVisualTree. 2024-09-12 18:28:13 +08:00
Dong Bin
a3b3a11644 Merge pull request #393 from irihitech/selectable
Introduce IsSelectable for TreeComboBoxItem.
2024-09-12 16:46:28 +08:00
rabbitism
a81fe88eb6 feat: add IsTopLevel property to OverlayDialogHost. only marked Host can trigger window movement. 2024-09-12 15:41:12 +08:00
Dong Bin
95f28e14f4 Merge pull request #396 from irihitech/caption
Fix: Caption buttons should update visibility upon UrsaWindow property change.
2024-09-12 12:00:00 +08:00
rabbitism
e90189bbca feat: 1. make full-screen dialog draggable to trigger window moving
2. Make sure full-screen is always full-screen when resizing window.
2024-09-11 22:49:37 +08:00
Zhang Dian
70d0f236d6 feat: add Content Attribute. 2024-09-11 21:30:15 +08:00
Dong Bin
7271fb290a Merge pull request #397 from irihitech/date
Introduce DateTimePicker
2024-09-11 21:27:43 +08:00
rabbitism
a653751d47 misc: remove debug log. 2024-09-11 21:26:28 +08:00