Bruno Windels
|
3e496833fc
|
remove unused PercentageDistributor
it's not used and we need to make some
api changes that don't work with it (resize will receive itemSize
which it doesn't really support)
|
2018-11-26 16:41:49 +01:00 |
Bruno Windels
|
8929ff9b5e
|
use room resize classes
|
2018-11-26 14:42:01 +01:00 |
Bruno Windels
|
0939a40d3a
|
adjust room distributor to roomsublist dom structure
also better classes to apply
|
2018-11-26 14:41:15 +01:00 |
Bruno Windels
|
4c5bd71114
|
fix lint
|
2018-11-01 17:56:08 +01:00 |
Bruno Windels
|
4d53e13a28
|
make manual resizing follow cursor more accurately
by clearing flex-grow that was set based on the list size,
you don't want it to grow anymore but be exactly the size
you are giving it.
|
2018-10-22 15:56:39 +02:00 |
Bruno Windels
|
73d9a71b29
|
Merge pull request #2226 from matrix-org/bwindels/resizeroomsublists
Redesign: 1st go at resizing room sublists
|
2018-10-19 13:33:28 +00:00 |
Bruno Windels
|
eb1ee1ca55
|
bind instead of second member var
|
2018-10-19 15:15:49 +02:00 |
Bruno Windels
|
44b92eb071
|
set sub list height with flex-basis to make it ... well, grow less
|
2018-10-18 16:58:17 +02:00 |
Bruno Windels
|
39ab3d86bd
|
create sizer that sets item size with flex-basis
works with the flex-grow we set initially for the sub lists
|
2018-10-18 15:51:22 +02:00 |
Bruno Windels
|
a910f46c5b
|
don't assume config
|
2018-10-18 15:51:01 +02:00 |
Bruno Windels
|
8d414d0986
|
more docs
|
2018-10-17 13:45:56 +02:00 |
Bruno Windels
|
d8ead8a8bb
|
add some description to some classes
|
2018-10-17 13:42:30 +02:00 |
Bruno Windels
|
8d3347bcfb
|
fix lint
|
2018-10-17 13:36:15 +02:00 |
Bruno Windels
|
6fdcebb876
|
add copyright headers
|
2018-10-17 11:38:25 +02:00 |
Bruno Windels
|
3a26f0fa12
|
only fire onCollapsed once when changing
|
2018-10-16 18:43:13 +02:00 |
Bruno Windels
|
28ec0f7462
|
onResized callback
|
2018-10-16 18:42:56 +02:00 |
Bruno Windels
|
bb184a4ae0
|
support programmatic access to a distributor (to set size from storage)
|
2018-10-16 17:22:12 +02:00 |
Bruno Windels
|
650e19ff77
|
don't expose direction, handleIndex to distributor ctor
|
2018-10-16 16:25:00 +02:00 |
Bruno Windels
|
30003d8f91
|
turn resizer into class to make programmatic interaction/cleanup easier
|
2018-10-16 15:16:10 +02:00 |
Bruno Windels
|
c095e30ae4
|
provide collapsed callback to also collapse on react side of things
|
2018-10-16 14:56:49 +02:00 |
Bruno Windels
|
c56975d93d
|
dont base collapse toggle size on min-width, as it's not available in collapsed state
|
2018-10-16 12:26:08 +02:00 |
Bruno Windels
|
4f006b033e
|
collapse left panel when 50px past min-width
|
2018-10-11 15:40:59 +02:00 |
Bruno Windels
|
928b6d47c8
|
add resize handles between 3 main app columns
|
2018-09-24 16:07:42 +01:00 |