From 0c4558cd0835840bb7b3467c2f9e5fa708293f83 Mon Sep 17 00:00:00 2001 From: SlavenDj <53652906+SlavenDj@users.noreply.github.com> Date: Sun, 18 Oct 2026 10:25:04 +0200 Subject: [PATCH] #1906: content-control Properties OK inherits theme text (#1920) --- crates/ui-egui/src/dialogs_controls.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/ui-egui/src/dialogs_controls.rs b/crates/ui-egui/src/dialogs_controls.rs index 9bdc1971b..ee5827078 100644 --- a/crates/ui-egui/src/dialogs_controls.rs +++ b/crates/ui-egui/src/dialogs_controls.rs @@ -167,7 +167,8 @@ pub fn body(app: &mut WordApp, ui: &mut Ui, f: &mut ControlForm) -> bool { if ui.button(tl!("Cancel")).clicked() || ui.input(|i| i.key_pressed(egui::Key::Escape)) { done = true; } - if ui.button(egui::RichText::new(tl!("OK")).color(egui::Color32::WHITE)).clicked() { + // #1906: no forced label color; the theme button text reads on the theme fill. + if ui.button(tl!("OK")).clicked() { match app.run("developer.properties", f.params()) { Ok(_) => done = true, Err(e) => app.status(e),