mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 21:30:03 -04:00
english
This commit is contained in:
@@ -323,14 +323,14 @@ impl<'a> DatePickerPopup<'a> {
|
|||||||
grid.empty();
|
grid.empty();
|
||||||
grid.cell(|ui| {
|
grid.cell(|ui| {
|
||||||
ui.with_layout(Layout::top_down_justified(Align::Center), |ui| {
|
ui.with_layout(Layout::top_down_justified(Align::Center), |ui| {
|
||||||
if ui.button("Abbrechen").clicked() {
|
if ui.button("Cancel").clicked() {
|
||||||
close = true;
|
close = true;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
grid.cell(|ui| {
|
grid.cell(|ui| {
|
||||||
ui.with_layout(Layout::top_down_justified(Align::Center), |ui| {
|
ui.with_layout(Layout::top_down_justified(Align::Center), |ui| {
|
||||||
if ui.button("Speichern").clicked() {
|
if ui.button("Save").clicked() {
|
||||||
*self.selection = Date::from_utc(
|
*self.selection = Date::from_utc(
|
||||||
NaiveDate::from_ymd(
|
NaiveDate::from_ymd(
|
||||||
popup_state.year,
|
popup_state.year,
|
||||||
|
|||||||
Reference in New Issue
Block a user