1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-27 07:03:14 -04:00
Files
egui/crates
bu5hm4nn 4875b01de3 TextEdit: Change margin property to egui::Margin type (#3993)
Despite their being an actual `egui::Margin` struct, Textedit has a
`margin()` builder function that supports only `Vec2` types and thereby
only symmetric margins. This PR changes the function to accept
`egui::Margin` type instead making it more congruent with overall egui
logic as well as supporting asymmetric margins.

P.S: I tried to run all checks but I had to modify `./rust-toolchain` to
1.67.0 to get the checks to run on macOS.

---------

Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
2024-02-13 10:44:55 +01:00
..
2024-02-11 09:03:09 +01:00
2024-02-11 09:03:09 +01:00
2024-02-11 09:03:09 +01:00
2024-02-11 09:03:09 +01:00
2023-04-18 15:52:45 +02:00
2024-02-11 09:03:09 +01:00
2024-02-11 09:03:09 +01:00