Skip to content

Commit

Permalink
property_window.rs: remove hardcoded text color from label
Browse files Browse the repository at this point in the history
Reported in #34
  • Loading branch information
epilys committed Mar 22, 2023
1 parent d46c77c commit c97ad4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/property_window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1051,7 +1051,7 @@ pub fn get_label_for_property(prop: &glib::ParamSpec) -> gtk::Label {
let label = if blurb == name {
format!("Key: <tt>{name}</tt>\nType: <span background=\"cornflowerblue\" foreground=\"white\"><tt> {type_name} </tt></span>")
} else {
format!("<span insert_hyphens=\"true\" allow_breaks=\"true\" foreground=\"#222222\">{blurb}</span>\n\nKey: <tt>{name}</tt>\nType: <span background=\"cornflowerblue\" foreground=\"white\"><tt> {type_name} </tt></span>")
format!("<span insert_hyphens=\"true\" allow_breaks=\"true\">{blurb}</span>\n\nKey: <tt>{name}</tt>\nType: <span background=\"cornflowerblue\" foreground=\"white\"><tt> {type_name} </tt></span>")
};
gtk::Label::builder()
.label(&label)
Expand Down

0 comments on commit c97ad4d

Please sign in to comment.