Constrain context menu to the width of the widest item
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
co-authored by
Nathan Sobo
parent
f403d87eff
commit
3b2f1644fb
@@ -19,6 +19,7 @@ pub struct Theme {
|
||||
#[serde(default)]
|
||||
pub name: String,
|
||||
pub workspace: Workspace,
|
||||
pub context_menu: ContextMenu,
|
||||
pub chat_panel: ChatPanel,
|
||||
pub contacts_panel: ContactsPanel,
|
||||
pub contact_finder: ContactFinder,
|
||||
@@ -226,7 +227,6 @@ pub struct ProjectPanel {
|
||||
pub ignored_entry_fade: f32,
|
||||
pub filename_editor: FieldEditor,
|
||||
pub indent_width: f32,
|
||||
pub context_menu: ContextMenu,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, Deserialize, Default)]
|
||||
|
||||
Reference in New Issue
Block a user