-
Notifications
You must be signed in to change notification settings - Fork 43
show symbol size in symbol list #268
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
Conversation
BR-
commented
Oct 2, 2025

This is great! 2 nice-to-haves:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Just a couple minor tweaks
objdiff-gui/src/views/appearance.rs
Outdated
pub diff_colors: Vec<Color32>, | ||
pub diff_bg_color: Option<Color32>, | ||
pub theme: egui::Theme, | ||
pub show_symbol_sizes: ShowSymbolSizeState, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let’s put this in SymbolViewState instead!
objdiff-gui/src/views/appearance.rs
Outdated
|
||
#[derive(serde::Deserialize, serde::Serialize, PartialEq, Debug)] | ||
pub enum ShowSymbolSizeState { | ||
Off, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can derive(Default) and put #[default] on Off
Love this, sort by size (ascending/descending) maybe? xd Just kidding, this is cool enough on its own. |
Thanks for the PR! |