mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-21 18:06:50 +00:00
sculpt: reduces space between depot users
Otherwise, the default list of depot users won't fit with the touch keyboard on the PinePhone's screen.
This commit is contained in:
parent
01b198657d
commit
de106608a0
@ -120,7 +120,7 @@ struct Sculpt::Depot_users_dialog
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
void _gen_entry(Xml_generator &xml, Xml_node const user, bool last) const
|
void _gen_entry(Xml_generator &xml, Xml_node const user, bool /* last */) const
|
||||||
{
|
{
|
||||||
User const name = user.attribute_value("name", User());
|
User const name = user.attribute_value("name", User());
|
||||||
bool const selected = (name == _selected);
|
bool const selected = (name == _selected);
|
||||||
@ -135,9 +135,6 @@ struct Sculpt::Depot_users_dialog
|
|||||||
[&] /* label */ { xml.attribute("text", Path(" ", label)); },
|
[&] /* label */ { xml.attribute("text", Path(" ", label)); },
|
||||||
[&] /* right */ { }
|
[&] /* right */ { }
|
||||||
);
|
);
|
||||||
|
|
||||||
if (show_all && !last)
|
|
||||||
_gen_vspacer(xml, String<64>("below ", name).string());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Depot_url _depot_url(Xml_node const &depot_users) const
|
Depot_url _depot_url(Xml_node const &depot_users) const
|
||||||
|
Loading…
x
Reference in New Issue
Block a user