mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 21:30:03 -04:00
Rename Widget::add_to to Widget::ui
This commit is contained in:
@@ -35,7 +35,7 @@ impl<'t> TextEdit<'t> {
|
||||
}
|
||||
|
||||
impl<'t> Widget for TextEdit<'t> {
|
||||
fn add_to(self, region: &mut Region) -> GuiResponse {
|
||||
fn ui(self, region: &mut Region) -> GuiResponse {
|
||||
let id = region.make_child_id(self.id);
|
||||
|
||||
let font = ®ion.fonts()[self.text_style];
|
||||
|
||||
Reference in New Issue
Block a user