Start on adding icon for requesting contacts

This commit is contained in:
Antonio Scandurra
2022-05-10 12:09:24 +02:00
parent 52c36d3e3d
commit 09580516a0
12 changed files with 102 additions and 21 deletions
+8
View File
@@ -236,6 +236,7 @@ pub struct ContactsPanel {
pub container: ContainerStyle,
pub header: ContainedText,
pub user_query_editor: FieldEditor,
pub add_contact_icon: AddContactIcon,
pub row_height: f32,
pub contact_avatar: ImageStyle,
pub contact_username: ContainedText,
@@ -248,6 +249,13 @@ pub struct ContactsPanel {
pub hovered_unshared_project: ProjectRow,
}
#[derive(Deserialize, Default)]
pub struct AddContactIcon {
#[serde(flatten)]
pub container: ContainerStyle,
pub color: Color,
}
#[derive(Deserialize, Default)]
pub struct ProjectRow {
#[serde(flatten)]