diff --git a/CellTypes/AvatarCellType.cs b/CellTypes/AvatarCellType.cs index 9ee4a29253d9c0826fd3aad4c93cabe8188d05e6..ba5062ce96e0afc8c1c698969591fca59fafa4a3 100644 --- a/CellTypes/AvatarCellType.cs +++ b/CellTypes/AvatarCellType.cs @@ -19,7 +19,7 @@ namespace ElementUI return control; } - public override Size DragDropDefaultSize { get; set; } = new Size(40, 40); + public override Size DragDropDefaultSize { get; set; } = new Size(32, 32); } [Icon("pack://application:,,,/ElementUI;component/Resources/Images/Avatar.png")] diff --git a/CellTypes/BackupTopCellType.cs b/CellTypes/BackupTopCellType.cs index 527676fae8e3479d34fdec1d7eaa07db84a3c7ae..2e192d40b1967dcf426be9c5ddf966095350f25a 100644 --- a/CellTypes/BackupTopCellType.cs +++ b/CellTypes/BackupTopCellType.cs @@ -20,7 +20,7 @@ namespace ElementUI return control; } - public override Size DragDropDefaultSize { get; set; } = new Size(40, 40); + public override Size DragDropDefaultSize { get; set; } = new Size(50, 50); } [Designer("ElementUI.BackupTopCellTypeDesigner, ElementUI")] diff --git a/CellTypes/Breadcrumb.cs b/CellTypes/Breadcrumb.cs index 0258071c2d3e1f7ad7bbc806163741aac116e8e5..98785049fbc76dbd676dc911b44bc28072434249 100644 --- a/CellTypes/Breadcrumb.cs +++ b/CellTypes/Breadcrumb.cs @@ -28,7 +28,7 @@ namespace ElementUI this.CellType.separator = "/"; } - public override Size DragDropDefaultSize { get; set; } = new Size(820, 40); + public override Size DragDropDefaultSize { get; set; } = new Size(608, 32); } [Icon("pack://application:,,,/ElementUI;component/Resources/Images/Breadcrumb.png")] diff --git a/CellTypes/CalendarCellType.cs b/CellTypes/CalendarCellType.cs index a8e94667272d57c370c1262f600021c6e1461470..74845f2bacd71ba0528abdb4cc88cbec3ee1242d 100644 --- a/CellTypes/CalendarCellType.cs +++ b/CellTypes/CalendarCellType.cs @@ -24,7 +24,7 @@ namespace ElementUI return control; } - public override Size DragDropDefaultSize { get; set; } = new Size(820, 600); + public override Size DragDropDefaultSize { get; set; } = new Size(608, 384); } [Icon("pack://application:,,,/ElementUI;component/Resources/Images/Calendar.png")] diff --git a/CellTypes/CascaderCellType.cs b/CellTypes/CascaderCellType.cs index b3682b1d46bbef5553a0ac77ebfa3480e4666e36..023ddc2646f172b3594007d2137ea13223cd7df2 100644 --- a/CellTypes/CascaderCellType.cs +++ b/CellTypes/CascaderCellType.cs @@ -32,7 +32,7 @@ namespace ElementUI this.CellType.separator = "/"; } - public override Size DragDropDefaultSize { get; set; } = new Size(240, 40); + public override Size DragDropDefaultSize { get; set; } = new Size(320, 32); } [Icon("pack://application:,,,/ElementUI;component/Resources/Images/Cascader.png")] diff --git a/CellTypes/DatePickerCellType.cs b/CellTypes/DatePickerCellType.cs index 562aa7d208de852c7a3690c2418e1f064db51cb4..731a8a7417b562f3a0e310a460d8a488cf36316a 100644 --- a/CellTypes/DatePickerCellType.cs +++ b/CellTypes/DatePickerCellType.cs @@ -43,7 +43,7 @@ namespace ElementUI this.CellType.DefautWeekFormat = Resources.Data_DefautWeekFormat; } - public override System.Windows.Size DragDropDefaultSize { get; set; } = new System.Windows.Size(240, 40); + public override System.Windows.Size DragDropDefaultSize { get; set; } = new System.Windows.Size(320, 32); } diff --git a/CellTypes/Input.cs b/CellTypes/Input.cs index e5a594add62b419951c92bc81a327fe8fc567eea..0ad5c38d0b3db96d535f1202f1ead72a9f7a8de4 100644 --- a/CellTypes/Input.cs +++ b/CellTypes/Input.cs @@ -20,7 +20,7 @@ namespace ElementUI } - public override Size DragDropDefaultSize { get; set; } = new Size(420, 40); + public override Size DragDropDefaultSize { get; set; } = new Size(320, 32); } diff --git a/CellTypes/InputNumberCellType.cs b/CellTypes/InputNumberCellType.cs index a712d62d950a76d86545930509a6fa4a65e57d33..9a7dddad3f5030e1591344784d191bf0f4d75d27 100644 --- a/CellTypes/InputNumberCellType.cs +++ b/CellTypes/InputNumberCellType.cs @@ -29,7 +29,7 @@ namespace ElementUI this.CellType.max = 100; this.CellType.step = 1; } - public override Size DragDropDefaultSize { get; set; } = new Size(180, 40); + public override Size DragDropDefaultSize { get; set; } = new Size(320, 32); } diff --git a/CellTypes/NavMenuCellType.cs b/CellTypes/NavMenuCellType.cs index b0b9b0a543d13f7e523922b3c893759d8cde305a..61a7567a89fc5ac051126556715748a6f0be459b 100644 --- a/CellTypes/NavMenuCellType.cs +++ b/CellTypes/NavMenuCellType.cs @@ -35,7 +35,7 @@ namespace ElementUI this.CellType.HideBorder = true; } - public override Size DragDropDefaultSize { get; set; } = new Size(240, 400); + public override Size DragDropDefaultSize { get; set; } = new Size(224, 384); } public class MenuNodeDesigner : ObjectDesigner diff --git a/CellTypes/PaginationCellType.cs b/CellTypes/PaginationCellType.cs index 18cd8ce272296e50f2e5a0bba5f9ca3084221332..54552390d9ff6fff31055a72fd8f0f645cf98f4c 100644 --- a/CellTypes/PaginationCellType.cs +++ b/CellTypes/PaginationCellType.cs @@ -172,7 +172,7 @@ namespace ElementUI.CellTypes return result; } - public override Size DragDropDefaultSize { get; set; } = new Size(820, 40); + public override Size DragDropDefaultSize { get; set; } = new Size(608, 32); } [Icon("pack://application:,,,/ElementUI;component/Resources/Images/Pagination.png")] diff --git a/CellTypes/ProgressCellType.cs b/CellTypes/ProgressCellType.cs index 58cd26e0e97b9d733dfe40f7aea156698ddb60e4..6c1c1186f99ae8e73c10921e51308adddf6aed53 100644 --- a/CellTypes/ProgressCellType.cs +++ b/CellTypes/ProgressCellType.cs @@ -48,7 +48,7 @@ namespace ElementUI return base.GetDrawingControl(cellInfo, drawingHelper); } - public override Size DragDropDefaultSize { get; set; } = new Size(350, 20); + public override Size DragDropDefaultSize { get; set; } = new Size(320, 32); } [Icon("pack://application:,,,/ElementUI;component/Resources/Images/Progress.png")] diff --git a/CellTypes/RateCellType.cs b/CellTypes/RateCellType.cs index c199507fbd9b473a47362a038a7f5632d476e4ca..0d56afb05a82d2c6929d839be7a86a12ba64d46d 100644 --- a/CellTypes/RateCellType.cs +++ b/CellTypes/RateCellType.cs @@ -41,7 +41,7 @@ namespace ElementUI } } - public override Size DragDropDefaultSize { get; set; } = new Size(240, 40); + public override Size DragDropDefaultSize { get; set; } = new Size(160, 32); } [Icon("pack://application:,,,/ElementUI;component/Resources/Images/Rate.png")] diff --git a/CellTypes/SelectCellType.cs b/CellTypes/SelectCellType.cs index 6baa9a7756a343504e4d2af2d59acdf2763d7c35..406d125ee2b2a8ff52beda9f2230f9a38c83537e 100644 --- a/CellTypes/SelectCellType.cs +++ b/CellTypes/SelectCellType.cs @@ -42,7 +42,7 @@ namespace ElementUI this.CellType.filterInServerOptions.loadingText = Resources.SelectCellType_loadingText_DefaultValue; } - public override Size DragDropDefaultSize { get; set; } = new Size(240, 40); + public override Size DragDropDefaultSize { get; set; } = new Size(320, 32); } [Icon("pack://application:,,,/ElementUI;component/Resources/Images/Select.png")] diff --git a/CellTypes/SliderCellType.cs b/CellTypes/SliderCellType.cs index 36c8836145a7a7ba6dbfd6370cd846012b86895f..b168d8dbddbc190917b2c67437bb7516d9162922 100644 --- a/CellTypes/SliderCellType.cs +++ b/CellTypes/SliderCellType.cs @@ -28,7 +28,7 @@ namespace ElementUI this.CellType.step = 1; } - public override Size DragDropDefaultSize { get; set; } = new Size(580, 40); + public override Size DragDropDefaultSize { get; set; } = new Size(320, 32); } [Icon("pack://application:,,,/ElementUI;component/Resources/Images/Slider.png")] diff --git a/CellTypes/TabHeader.cs b/CellTypes/TabHeader.cs index 23daba007495986fcf1e56b3987509db3af1aa3e..527203dfecc22f39c286588dd5f4c61466ebc87f 100644 --- a/CellTypes/TabHeader.cs +++ b/CellTypes/TabHeader.cs @@ -34,7 +34,7 @@ namespace ElementUI } } - public override Size DragDropDefaultSize { get; set; } = new Size(820, 40); + public override Size DragDropDefaultSize { get; set; } = new Size(608, 60); } diff --git a/CellTypes/TableCellType.cs b/CellTypes/TableCellType.cs index d8db922513dfd364cec9876d638a15e4d1571f78..bbc4d6a35e06a786c6fc3e81f7c9772be54a116e 100644 --- a/CellTypes/TableCellType.cs +++ b/CellTypes/TableCellType.cs @@ -261,7 +261,7 @@ namespace ElementUI CellType.ElTableName = GetUniqueDefaultTableName(context); } - public override Size DragDropDefaultSize { get; set; } = new Size(820, 300); + public override Size DragDropDefaultSize { get; set; } = new Size(800, 416); } [Icon("pack://application:,,,/ElementUI;component/Resources/Images/Table.png")] diff --git a/CellTypes/TimePickerCellType.cs b/CellTypes/TimePickerCellType.cs index f5beb81b144a9d7916dfe3e792b6005461d85219..33dec995b7ecaebda9a7331bcf018a2c34de33b4 100644 --- a/CellTypes/TimePickerCellType.cs +++ b/CellTypes/TimePickerCellType.cs @@ -43,7 +43,7 @@ namespace ElementUI this.CellType.step = new TimeSpan(0, 15, 0); } - public override Size DragDropDefaultSize { get; set; } = new Size(240, 40); + public override Size DragDropDefaultSize { get; set; } = new Size(320, 32); } [Icon("pack://application:,,,/ElementUI;component/Resources/Images/TimePicker.png")] diff --git a/CellTypes/TimelineCellType.cs b/CellTypes/TimelineCellType.cs index 45ead084bba6d3eaf0d46366bfa4093a9de0c404..eb32b1f7034354352b762fd4a8c551b7f3390220 100644 --- a/CellTypes/TimelineCellType.cs +++ b/CellTypes/TimelineCellType.cs @@ -49,7 +49,7 @@ namespace ElementUI var control = new TimelineDrawingControl(drawingHelper, this.CellType, cellStyle, GetDefaultOptions()); return control; } - public override Size DragDropDefaultSize { get; set; } = new Size(240, 400); + public override Size DragDropDefaultSize { get; set; } = new Size(224, 384); } [Icon("pack://application:,,,/ElementUI;component/Resources/Images/Timeline.png")] diff --git a/CellTypes/TransferCellTyle.cs b/CellTypes/TransferCellTyle.cs index cb0fee994f3c04cf92e7dfa970cd7480aab0c097..a18e63825e0df08d85ca883e75669f8329edab0e 100644 --- a/CellTypes/TransferCellTyle.cs +++ b/CellTypes/TransferCellTyle.cs @@ -36,7 +36,7 @@ namespace ElementUI this.CellType.filterPlaceholder = Resources.TransferCellType_filterPlaceholder_DefaultValue; } - public override Size DragDropDefaultSize { get; set; } = new Size(820, 300); + public override Size DragDropDefaultSize { get; set; } = new Size(608, 384); } [Icon("pack://application:,,,/ElementUI;component/Resources/Images/Transfer.png")] diff --git a/CellTypes/TreeCellType.cs b/CellTypes/TreeCellType.cs index a4079348681cdc412187989a0500e52478b484df..c3b2c4e4156ecf444c90afbcfdb701abb88afbe9 100644 --- a/CellTypes/TreeCellType.cs +++ b/CellTypes/TreeCellType.cs @@ -54,7 +54,7 @@ public class TreeCellTypeDesigner : CellTypeDesigner, ISupportProp }); } - public override Size DragDropDefaultSize { get; set; } = new Size(240, 400); + public override Size DragDropDefaultSize { get; set; } = new Size(224, 384); } public class ElTreeViewItem : TreeViewItem diff --git a/CellTypes/TreeSelect.cs b/CellTypes/TreeSelect.cs index 58cbe24bcca7162707bf25b39313c12564db9fad..9d9a8cbceaa5817d58b0c116998f0759e571d568 100644 --- a/CellTypes/TreeSelect.cs +++ b/CellTypes/TreeSelect.cs @@ -29,7 +29,7 @@ namespace ElementUI CellType.placeholder = Resources.CascaderCellType_placeholder_DefaultValue; } - public override Size DragDropDefaultSize { get; set; } = new Size(240, 40); + public override Size DragDropDefaultSize { get; set; } = new Size(320, 32); } [Icon("pack://application:,,,/ElementUI;component/Resources/Images/TreeSelect.png")] diff --git a/CellTypes/UploadCellType.cs b/CellTypes/UploadCellType.cs index c388867d29e88af35f8604b36e0fe885c414652b..9a44f415371feb4dcfd7d1cfc6be9bea3454f49f 100644 --- a/CellTypes/UploadCellType.cs +++ b/CellTypes/UploadCellType.cs @@ -44,7 +44,7 @@ namespace ElementUI this.CellType.accept = ".jpg, .jpeg, .png"; } - public override Size DragDropDefaultSize { get; set; } = new Size(820, 180); + public override Size DragDropDefaultSize { get; set; } = new Size(320, 160); } [Icon("pack://application:,,,/ElementUI;component/Resources/Images/Upload.png")] diff --git a/CellTypes/VirtualizedTableCellType.cs b/CellTypes/VirtualizedTableCellType.cs index 4a089c7b6b81656087563f9bdf92deee29bd3963..3993f92155e5d5ba9869549dbc99716710cbacf7 100644 --- a/CellTypes/VirtualizedTableCellType.cs +++ b/CellTypes/VirtualizedTableCellType.cs @@ -924,7 +924,7 @@ public class VirtualizedTableCellTypeDesigner : CellTypeDesigner