Skip to content

A fast file manager for Windows and macOS that never freezes: tabs, dual panes, archives as folders, Quick Look-style previews. A File Explorer and Finder alternative written in Rust.

The Status Center and the Layout panel use the font chosen in Settings (913)

denfrybf8300ff0454
diff --git a/crates/rf-app/src/flyout.rs b/crates/rf-app/src/flyout.rs
index a857ac06..5f6d9802 100644
--- a/crates/rf-app/src/flyout.rs
+++ b/crates/rf-app/src/flyout.rs
@@ -174,6 +174,8 @@ impl Render for FlyoutView {
.when(self.explorer_style, |d| d.rounded(crate::theme::RADIUS).bg(p.card_bg).border_1().border_color(p.border).shadow_lg())
.when(!self.explorer_style, |d| d.when_some(fill, |d, f| d.bg(f)))
.track_focus(&self.focus)
+ // (a window of its own, opened without the main window's root: the font chosen in Settings is set here, issue 913)
+ .font_family(gpui_kit::component::theme::Theme::global(cx).font_family.clone())
.text_color(p.text)
.on_key_down(|ev: &KeyDownEvent, _, cx| {
if ev.keystroke.key == "escape" {
diff --git a/crates/rf-app/src/status_center.rs b/crates/rf-app/src/status_center.rs
index ec9c1bea..30417571 100644
--- a/crates/rf-app/src/status_center.rs
+++ b/crates/rf-app/src/status_center.rs
@@ -2378,6 +2378,8 @@ impl Render for ScView {
d.when_some(fill, |d, f| d.bg(f))
})
.track_focus(&self.focus)
+ // (a window of its own, opened without the main window's root: the font chosen in Settings is set here, issue 913)
+ .font_family(gpui_kit::component::theme::Theme::global(cx).font_family.clone())
.text_color(p.text)
.on_key_down(cx.listener(|this, ev: &KeyDownEvent, _, cx| {
if ev.keystroke.key == "escape" {