Emil Ernerfeldt
4e316d32e5
Fix scroll_to with align
Broke in https://github.com/emilk/egui/pull/1252
3 years ago
Emil Ernerfeldt
4af3cae26d
Scroll so that text cursor remains visible ( #1252 )
Closes https://github.com/emilk/egui/issues/165
3 years ago
cat-state
c1569ed0d7
Add Ui.input_mut & InputState.ignore_key ( #1212 )
3 years ago
Friz64
c8c871fcd1
Add `move_to_top` and `top_most_layer` ( #1242 )
3 years ago
Sven Niederberger
8f8eb5d4a9
Customize Plot label and cursor texts ( #1235 )
Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
3 years ago
BctfN0HUK7Yg
cfad28936d
Color picker now always pops up next to the button ( #1237 )
3 years ago
Juan Campa
635c65773d
Allow scroll into view without specifying an alignment ( #1247 )
* Allow scroll into view without specifying an alignment
* Handle case of UI being too big to fit in the scroll view
3 years ago
Emil Ernerfeldt
c1cd47e3a7
README: Add section to FAQ about how to work with async code
3 years ago
Emil Ernerfeldt
f92df7db56
README: Add screenshot to demonstrate the skin-ability of egui
3 years ago
Alexander
62504fface
Slider: Add step parameter ( #1225 )
Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
3 years ago
Juan Campa
c4528beb72
Make non interactable layers not interact ( #1240 )
* Make non interactable layers not interact
* Make menus interactable
* Fix area interactable not being updated each frame
3 years ago
4JX
14e985a894
Expose `FontTweak` through `egui::FontTweak` ( #1244 )
3 years ago
Emil Ernerfeldt
69626296f1
Make v-align and scale of user fonts tweakable ( #1241 )
* Add ability to "tweak" the scale and y-offsets of individual fonts
* Change default font tweak
This help vertically center large text.
3 years ago
Emil Ernerfeldt
3f8ba3a542
Improve the contrast of the default light mode style ( #1238 )
Makes backgrounds brighter and foregrounds darker.
3 years ago
Emil Ernerfeldt
815598a842
.vscode/settings.json: insertFinalNewline and trimTrailingWhitespace
For when people make PR:s touching .toml, .md files
3 years ago
Yusuf Bera Ertan
1ebb5ccabf
Don't install console panic hook and tracing wasm subscriber in egui_web ( #1230 )
Do so in egui_demo_app instead
3 years ago
4JX
2f042ababd
Make `Margin` pub and move to style.rs ( #1236 )
3 years ago
Emil Ernerfeldt
b2323bd13e
Add VSCode settings with {"editor.formatOnSave": true}
Hopefully this will increase the number of PR:s with correct formatting.
3 years ago
Emil Ernerfeldt
4cede42748
Add ui.weak(text)
3 years ago
Emil Ernerfeldt
defc400c21
Add an example of how to display an SVG image in egui ( #1228 )
3 years ago
Erlend Walstad
2802e03526
Per-side margins with new struct Margin ( #1219 )
3 years ago
Emil Ernerfeldt
603ec82a5e
cargo deny: clarify MPL-2.0 license and use un-patched ureq again ( #1222 )
See https://github.com/algesten/ureq/issues/478#issuecomment-1031029647
3 years ago
4JX
c9098288f5
Fix a typo: tolerence -> tolerance ( #1214 )
3 years ago
Emil Ernerfeldt
5459ab29b7
Fix: allow calling set_pixels_per_point before first frame
Closes https://github.com/emilk/egui/issues/1153
3 years ago
Emil Ernerfeldt
55067f54ce
Demo app fix: respect native pixels_per_point on startup
3 years ago
Emil Ernerfeldt
cbc53fbe2e
eframe: Add `epi::NativeOptions::initial_window_pos`
3 years ago
Manuel Innerhofer
7d41551913
Fixed typos: wether -> whether ( #1210 )
Co-authored-by: mir <mir@wisdomtag.com>
3 years ago
Emil Ernerfeldt
9ed96155e9
Rename corner_radius to rounding
Also update changelogs and clean up other aspects of
https://github.com/emilk/egui/pull/1206
3 years ago
Emil Ernerfeldt
ace2ac00da
Update to tts 0.20.2 which resolves copy-left license issue
See https://github.com/ndarilek/tts-rs/pull/21
3 years ago
4JX
7e7b9e1919
Per-corner rounding of rectangles ( #1206 )
Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
3 years ago
Emil Ernerfeldt
0fa4bb9c64
Clean up all Cargo.toml: put features higher, and document them better
3 years ago
Juan Campa
32a9b4abcc
Add on_hover_text_at_pointer ( #1179 )
3 years ago
Juan Campa
ea28485bdd
Remove prevent_default for mousedown events ( #1209 )
This fixes the issue of tabs not focusing when egui is used inside vscode
3 years ago
Emil Ernerfeldt
712d8c9a2b
Run cargo deny in CI ( #1205 )
* Run cargo deny in CI
* Use patched fork of ureq to avoid copy-left license
* Use patched fork of tts to avoid LGPL license
More:
* https://github.com/ndarilek/tts-rs/pull/21
* https://github.com/algesten/ureq/pull/479
3 years ago
Alan Race
3cd3cceefd
Add method to enable generation of a ComboBox with both id and label ( #1204 )
3 years ago
Emil Ernerfeldt
1b623fdd34
Update rfd 0.6 -> 0.7
3 years ago
Emil Ernerfeldt
47038c631e
Update image 0.23 -> 0.24
3 years ago
Emil Ernerfeldt
8dfa6ce2f0
Update tts 0.19 -> 0.20
3 years ago
Emil Ernerfeldt
3999e5b373
cargo update
Updating crates.io index
Removing anyhow v1.0.52
Updating atk-sys v0.14.0 -> v0.15.1
Updating backtrace v0.3.63 -> v0.3.64
Updating cairo-sys-rs v0.14.9 -> v0.15.1
Updating cfg-expr v0.8.1 -> v0.9.1
Updating clang-sys v1.3.0 -> v1.3.1
Updating crc32fast v1.3.0 -> v1.3.1
Updating enum-map v2.0.0 -> v2.0.1
Updating enum-map-derive v0.7.0 -> v0.8.0
Updating gdk-pixbuf-sys v0.14.0 -> v0.15.1
Updating gdk-sys v0.14.0 -> v0.15.1
Updating gio-sys v0.14.0 -> v0.15.4
Updating glib-sys v0.14.0 -> v0.15.4
Updating gobject-sys v0.14.0 -> v0.15.1
Updating gtk-sys v0.14.0 -> v0.15.3
Updating heck v0.3.3 -> v0.4.0
Updating js-sys v0.3.55 -> v0.3.56
Updating libc v0.2.116 -> v0.2.117
Updating lock_api v0.4.5 -> v0.4.6
Updating mint v0.5.8 -> v0.5.9
Updating nix v0.22.0 -> v0.22.3
Adding num_threads v0.1.3
Updating pango-sys v0.14.0 -> v0.15.1
Updating quote v1.0.14 -> v1.0.15
Updating rfd v0.6.3 -> v0.6.4
Updating serde v1.0.133 -> v1.0.136
Updating serde_derive v1.0.133 -> v1.0.136
Updating serde_json v1.0.75 -> v1.0.78
Removing strum v0.21.0
Removing strum_macros v0.21.1
Updating syn v1.0.85 -> v1.0.86
Updating system-deps v3.2.0 -> v6.0.1
Updating time v0.3.5 -> v0.3.7
Updating tracing v0.1.29 -> v0.1.30
Updating tracing-attributes v0.1.18 -> v0.1.19
Updating tracing-core v0.1.21 -> v0.1.22
Removing unicode-segmentation v1.8.0
Adding valuable v0.1.0
Updating version-compare v0.0.11 -> v0.1.0
Updating wasm-bindgen-futures v0.4.28 -> v0.4.29
Updating web-sys v0.3.55 -> v0.3.56
Updating which v4.2.2 -> v4.2.4
Adding windows v0.30.0
Adding windows_aarch64_msvc v0.30.0
Adding windows_i686_gnu v0.30.0
Adding windows_i686_msvc v0.30.0
Adding windows_x86_64_gnu v0.30.0
Adding windows_x86_64_msvc v0.30.0
Updating zbus v2.1.0 -> v2.1.1
Updating zbus_macros v2.1.0 -> v2.1.1
3 years ago
Emil Ernerfeldt
fd267c542e
Add a link to smithay-egui
3 years ago
Emil Ernerfeldt
c3be566574
egui-winit: Automatically detect and apply dark or light mode ( #1045 )
3 years ago
Unknown
270c08a030
min and max window size ( #1171 )
3 years ago
nongiach
869d556335
Plot boxed zoom with secondary mouse button ( #1188 )
3 years ago
Emil Ernerfeldt
c6ac1827f6
Use tracing crate for logging ( #1192 )
* egui_web: use tracing crate
* egui_glow: use tracing crate
* Log at the debug level
* egui_demo_app: enable tracing to log to stdout
* Use tracing in egui-winit
* Add opt-in tracing support to egui
3 years ago
Xu Desheng
1f03f53dc0
Add Bezier Shapes #1120 ( #1178 )
3 years ago
Sven Niederberger
4e99d8f409
Plot: Linked axis support ( #1184 )
3 years ago
Emil Ernerfeldt
b5aaa5fa6f
Improve some feature flags
3 years ago
Emil Ernerfeldt
2183e9fdea
Add early egui history to changelog
3 years ago
Emil Ernerfeldt
7eddd20a01
index.html: catch and display errors
3 years ago
Emil Ernerfeldt
871a200ecf
egui_web glow painter: return errors instead of panic
3 years ago