1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-30 05:10:03 -04:00
Files
egui/egui_demo_lib
Cristian Dinu 19e2608a56 Make the "tab-as-character" behaviour opt-in.
Added `tab_moves_focus()` to `TextEdit` so we can opt-in to the
"tab-as-character" behaviour.

Also because we decided to lock the tab size to 4 spaces, we gave
up on the `tab_size` property, but we kept the opt-in for the
"tab-as-spaces" behaviour.

An updated example of how to use `TextEdit` with those two opt-in
behaviours can be found in the "Misc Demos" demo.
2021-03-24 13:00:04 +02:00
..
2021-01-17 14:48:59 +01:00

egui demo library

this crate contains example code for egui.

it is in a separate crate for two reasons:

  • to ensure it only uses the public egui api.
  • to remove the amount of code in egui proper.