Commit 7d9685d6 authored by Rasmus Rendal's avatar Rasmus Rendal

Update members_list.rs

parent 0f6e3441
...@@ -129,11 +129,9 @@ fn load_row_content(member: Member) -> gtk::Box { ...@@ -129,11 +129,9 @@ fn load_row_content(member: Member) -> gtk::Box {
let uid = gtk::Label::new(Some(member.uid.as_str())); let uid = gtk::Label::new(Some(member.uid.as_str()));
username.set_xalign(0.); username.set_xalign(0.);
uid.set_xalign(0.); uid.set_xalign(0.);
//let sc = uid.get_style_context();
if let Some(style) = uid.get_style_context() { if let Some(style) = uid.get_style_context() {
style.add_class("uid-label"); style.add_class("uid-label");
} }
//Some(sc).add_class(Some("hello"));
b.set_margin_start(12); b.set_margin_start(12);
b.set_margin_end(12); b.set_margin_end(12);
b.set_margin_top(6); b.set_margin_top(6);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment