Commit Graph

15 Commits (c41ad9a16398139452fc8f3bd51327e050f91b3c)

Author SHA1 Message Date
Jesús González 61aab3765b Reorderable lists now have a new field "EqualizeSizesOnDrag", default to false. When it is true it sets every item size (when being dragged over the current list) to the current size of the first element of the list.
true was the default behaviour before, and it might be useful in some cases so I left the option there, but in most use cases I encountered so far, and according to Issue 268 (https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/issues/268/re-orderable-lists-different-width-height) the false behaviour is expected.
2019-04-10 09:43:17 -04:00
Jesús González 93f9a314cf Added a new Event to ReorderableList: OnElementDroppedWithMaxItems.
It is called when an object is dropped on a ReorderableList with no more space left (currentItems >= maxItems).
2019-04-09 20:35:34 -04:00
LARS-LAPTOP2\larsme c8b7085f27 More Options for ReordableList:
- Max item count, after which no more items can be dropped
- IsDisplacable option: If true, an item can be dropped into a full list by displacing one of its items,
  it may replace the dragged item in its origin list, be dropped in space or be deleted
  depending on the dragged item's origin list and the displaced item
- Added respective Events
- fixed ever increasing number of _listContent components
- Stopped dragged item from blocking Raycasts
2019-02-22 18:35:03 +01:00
StefanTBG 3814471a2b Updating the ReorderableList control to work with Screen Space - Overlay 2019-01-14 22:25:52 -05:00
Stefan Perales f92a516d9d Updating the ReorderableList control to work with Screen Space - Overlay 2019-01-14 22:05:27 -05:00
Jesús González e82dd8dc6e Fixed: when moving an element from a Reorderable List to another one that's empty, the element size was being reset to the default 100,100. This also happened is moving any element to the start of a it current list.
This version of the fix is more correct, as it is only touching the ResetSizes() method.
2018-12-12 20:12:26 -03:00
Jesús González e35ff7d933 Fixed: when moving an element from a Reorderable List to another one that's empty, the element size was being reset to the default 100,100. This also happened is moving any element to the start of a it current list. 2018-12-12 20:06:27 -03:00
Leon Kyz 3b1929541a Merge branch 'master' of https://bitbucket.org/leonkj/unity-ui-extensions 2018-03-30 20:02:03 +03:00
Leon Kyz 3cd7b25707 Fix reorderable lists 2018-03-30 20:00:26 +03:00
Simon (Darkside) Jackson 1dbfda47d9 Moved Shader folder under a Resources folder to resolve UI Particle system and other shader issues.
Resolves #229
2018-03-22 18:09:48 +00:00
Simon Jackson 3daac5e970 Some minor Examples restructuring and finally added a .GitIgnore #FaceSlap 2017-07-15 11:41:14 +01:00
Simon Jackson a059c148a6 Various patches and also enabled the ReorderableList in SS-Camera / Worldspace 2017-06-03 17:59:12 +01:00
Simon Jackson 35b88a2487 Fixed Line endings on shaders (?)
Removed unnecessary usings (who knew there were so many, I'm normally so tidy :P)
2017-05-05 14:25:48 +01:00
Simon Jackson dc809858b9 1st Pass update, Updated controls:
* DropDownList/ComboBox
* Reorderable List (Screen Space Camera Updates
* Curved text fixes
2017-05-05 14:06:52 +01:00
Simon Jackson e105d9f2dd Added UI Knob
Restructured controls in to their own folder.  If we are breaking Bkcompat, might as well make it a good one

--HG--
branch : develop_5.3
2016-07-17 19:21:41 +01:00