Commit graph

13 commits

Author SHA1 Message Date
Emil Ernerfeldt
1dee439ab1 Added CursorIcons for resizing columns, rows and 8 cardinal directions 2022-04-19 16:56:27 +02:00
Emil Ernerfeldt
701ae3cb46 egui_extras::Table: fix bugs in the virtual scrolling 2022-04-11 17:54:57 +02:00
Emil Ernerfeldt
efc0b992e0 egui_extras: fix bug when restoring persisted table widths 2022-04-11 14:27:32 +02:00
Emil Ernerfeldt
426b933d2f egui_extras: add cell_layout option to set the layout of all cells 2022-04-11 10:29:34 +02:00
Emil Ernerfeldt
c88e1f8b29 egui_extras: improve Table/Strip docs, and only panic in debug builds 2022-04-11 10:17:36 +02:00
Emil Ernerfeldt
bdfc512b01 Add docstring example for TableBody::rows 2022-04-09 13:34:55 +02:00
wayne
0c87e02f55
egui_extras: enable virtual scroll for heterogenous rows (#1444)
Introduce `TableBody::heterogenous_rows` for "virtual scrolling" over rows with differing heights.
2022-04-09 13:18:33 +02:00
Emil Ernerfeldt
c3b6d1bab9
Warn about Id clashes for Grid, Plot, ScrollArea, Table (#1452)
Id clashes can cause subtle bugs.

egui already warns when the same Id is used to interact with different
parts of the screen.

This adds warnings about id clashes for some widgets that store state:
Grid, Plot, ScrollArea, Table.

The PR also adds `Context::check_for_id_clash` so users who create
their own widgets can add the same type of check.
2022-04-04 13:13:34 +02:00
Emil Ernerfeldt
5dff1e42c6
More table improvements (#1440)
* Clip by default
* Fix some spacing bugs
* datepicker: look nicer in light mode
* datepicker: show month names
* Table: don't allow resize of last column if it is Size::Remainder
2022-04-01 15:27:42 +02:00
Emil Ernerfeldt
c029f25c13 Table: don't allow resize of last column if it is Size::Remainder 2022-04-01 14:44:25 +02:00
Emil Ernerfeldt
51cc9c9a9a Table: fix bug with item spacing 2022-04-01 14:43:43 +02:00
Emil Ernerfeldt
21c32a18d8
Table resize (#1438)
* Let 1D strips fill up parent width/height
* Add Strip + Table + DatePicker to egui_extras changelog
* Expose some dragging- and pointer related context/memory methods
* Make tables resizable
2022-04-01 12:01:00 +02:00
René Rössler
1d32670cf3
Dynamic sized strips, tables, and date picker (#963) 2022-03-31 21:13:25 +02:00