Break context menu items out in theme
This commit is contained in:
committed by
Antonio Scandurra
parent
6b96822c1a
commit
b428d0de38
@@ -242,7 +242,13 @@ pub struct ProjectPanelEntry {
|
||||
|
||||
#[derive(Clone, Debug, Deserialize, Default)]
|
||||
pub struct ContextMenu {
|
||||
pub width: f32,
|
||||
#[serde(flatten)]
|
||||
pub container: ContainerStyle,
|
||||
pub item: ContextMenuItem,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, Deserialize, Default)]
|
||||
pub struct ContextMenuItem {
|
||||
#[serde(flatten)]
|
||||
pub container: ContainerStyle,
|
||||
pub label: TextStyle,
|
||||
|
||||
Reference in New Issue
Block a user