Pull out contact finder as a picker

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Antonio Scandurra
2022-05-10 16:43:51 +02:00
co-authored by Nathan Sobo
parent b721f0064a
commit f81edb88fe
14 changed files with 151 additions and 437 deletions
+1 -6
View File
@@ -252,14 +252,9 @@ pub struct ContactsPanel {
#[derive(Deserialize, Default)]
pub struct ContactFinder {
#[serde(flatten)]
pub container: ContainerStyle,
pub max_width: f32,
pub max_height: f32,
pub query_editor: FieldEditor,
pub row_height: f32,
pub contact_avatar: ImageStyle,
pub contact_username: ContainedText,
pub contact_username: ContainerStyle,
pub contact_button: ContainedText,
}