Skip to content

Support light mode in the Rerun viewer #3058

Open
0 of 1 issue completed
Open
0 of 1 issue completed
@edulecom

Description

@edulecom

Hello,

I'm playing with .\rerun\crates\re_ui\examples\re_ui_example.rs and I'm trying to change the theme to light.
I have added only one line in the fn update:

    egui::TopBottomPanel::bottom("bottom_panel")
        .frame(self.re_ui.bottom_panel_frame())
        .show_animated(egui_ctx, self.bottom_panel, |ui| {
            ui.strong("Bottom panel");
            egui::widgets::global_dark_light_mode_buttons(ui); // this line is added
        });  

Effect is strange: only central panel applies the theme. It can be seen in an attached video.
Any help would very appreciated.

2023-08-21.16-20-55.mp4

Sub-issues

Metadata

Metadata

Assignees

Labels

uiconcerns graphical user interface📺 re_vieweraffects re_viewer itself

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions