Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
Style label
Browse files Browse the repository at this point in the history
  • Loading branch information
iondodon committed Mar 23, 2024
1 parent fa64e5b commit 7f61ec6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "i3-switcher-x11"
version = "0.3.2"
version = "0.3.3"
edition = "2021"
build = "build.rs"
authors = ["Ion Dodon <iondodon2@gmail.com>"]
Expand Down
4 changes: 4 additions & 0 deletions src/ui/style.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ const DEFAULT_CSS: &str = "
margin: 1em;
}
.label {
}
";

pub fn init() {
Expand Down
1 change: 1 addition & 0 deletions src/ui/tabs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ impl Tab {
}

let label = Label::new(name);
label.add_css_class("label");
gtk_box.append(&label);

Tab {
Expand Down

0 comments on commit 7f61ec6

Please sign in to comment.