This commit is contained in:
Antonio Scandurra
2022-05-10 18:25:47 +02:00
parent 6c3e3c84ec
commit a121576545
16 changed files with 359 additions and 254 deletions
+8 -4
View File
@@ -237,11 +237,12 @@ pub struct ContactsPanel {
pub container: ContainerStyle,
pub header: ContainedText,
pub user_query_editor: FieldEditor,
pub add_contact_icon: AddContactIcon,
pub add_contact_button: IconButton,
pub row_height: f32,
pub contact_avatar: ImageStyle,
pub contact_username: ContainedText,
pub contact_button: ContainedText,
pub contact_button: IconButton,
pub disabled_contact_button: IconButton,
pub tree_branch_width: f32,
pub tree_branch_color: Color,
pub shared_project: ProjectRow,
@@ -255,14 +256,17 @@ pub struct ContactFinder {
pub row_height: f32,
pub contact_avatar: ImageStyle,
pub contact_username: ContainerStyle,
pub contact_button: ContainedText,
pub contact_button: IconButton,
pub disabled_contact_button: IconButton,
}
#[derive(Deserialize, Default)]
pub struct AddContactIcon {
pub struct IconButton {
#[serde(flatten)]
pub container: ContainerStyle,
pub color: Color,
pub icon_width: f32,
pub button_width: f32,
}
#[derive(Deserialize, Default)]