Fix missing theming on search suggestion dropdown
This commit is contained in:
parent
7dcaa1436b
commit
e83dc45039
|
|
@ -53,6 +53,7 @@ impl CompUi for Header {
|
||||||
));
|
));
|
||||||
let frame_margin = tf.total_margin();
|
let frame_margin = tf.total_margin();
|
||||||
tf.show(ui, |ui| {
|
tf.show(ui, |ui| {
|
||||||
|
ui.style_mut().visuals.override_text_color = Some(theme.text_color);
|
||||||
ui.with_layout(Layout::top_down_justified(Align::LEFT), |ui| {
|
ui.with_layout(Layout::top_down_justified(Align::LEFT), |ui| {
|
||||||
ui.set_width(resp.rect.width() - frame_margin.sum().x);
|
ui.set_width(resp.rect.width() - frame_margin.sum().x);
|
||||||
let st = SearchType::from_str(&search_text);
|
let st = SearchType::from_str(&search_text);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user