Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update welcome screen panel illustrations #5394

Merged
merged 2 commits into from
Mar 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added crates/re_ui/data/images/configure-card.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added crates/re_ui/data/images/live-data-card.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed crates/re_ui/data/images/onboarding-configure.png
Binary file not shown.
Binary file removed crates/re_ui/data/images/onboarding-examples.jpg
Binary file not shown.
Binary file removed crates/re_ui/data/images/onboarding-live-data.png
Binary file not shown.
Binary file not shown.
Binary file added crates/re_ui/data/images/recorded-data-card.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 3 additions & 8 deletions crates/re_ui/src/icons.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,20 +147,15 @@ pub const STORE: Icon = Icon::new("store", include_bytes!("../data/icons/store.p

pub const WELCOME_SCREEN_CONFIGURE: Icon = Icon::new(
"welcome_screen_configure",
include_bytes!("../data/images/onboarding-configure.png"),
include_bytes!("../data/images/configure-card.png"),
);

pub const WELCOME_SCREEN_LIVE_DATA: Icon = Icon::new(
"welcome_screen_live_data",
include_bytes!("../data/images/onboarding-live-data.png"),
include_bytes!("../data/images/live-data-card.png"),
);

pub const WELCOME_SCREEN_RECORDED_DATA: Icon = Icon::new(
"welcome_screen_recorded_data",
include_bytes!("../data/images/onboarding-recorded-data.png"),
);

pub const WELCOME_SCREEN_EXAMPLES: Icon = Icon::new(
"welcome_screen_examples",
include_bytes!("../data/images/onboarding-examples.jpg"),
include_bytes!("../data/images/recorded-data-card.png"),
);
2 changes: 1 addition & 1 deletion crates/re_viewer/src/ui/welcome_screen/welcome_section.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ fn onboarding_content_ui(ui: &mut Ui, command_sender: &CommandSender, accepts_co

let panel_count = panels.len();

const MAX_COLUMN_WIDTH: f32 = 255.0;
const MAX_COLUMN_WIDTH: f32 = 280.0;
const MIN_COLUMN_WIDTH: f32 = 164.0;

let grid_spacing = egui::vec2(12.0, 16.0);
Expand Down
Loading