diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json index db8fe47..a0f3d56 100644 --- a/.vscode/c_cpp_properties.json +++ b/.vscode/c_cpp_properties.json @@ -5,11 +5,12 @@ "includePath": [ "${default}", "${workspaceFolder}", - "${workspaceFolder}/src", + "${workspaceFolder}/build/src/**", + "${workspaceFolder}/src/**", + "${workspaceFolder}/**", "/usr/include/lilv-0", "/usr/include/x86_64-linux-gnu", - "/usr/lib", - "~/src/vst3sdk" + "/usr/lib" ], "compilerPath": "/usr/bin/gcc-12", "cStandard": "c17", diff --git a/react/src/FilePropertyControl.tsx b/react/src/FilePropertyControl.tsx index f050d7c..8b0ff4b 100644 --- a/react/src/FilePropertyControl.tsx +++ b/react/src/FilePropertyControl.tsx @@ -56,6 +56,9 @@ const styles = (theme: Theme) => createStyles({ backgroundColor: theme.palette.secondary.main, opacity: theme.palette.mode === 'light' ? 0.38 : 0.3 }, + controlFrame: { + display: "flex", flexDirection: "column", alignItems: "start", justifyContent: "space-between", height: 116 + }, displayValue: { position: "absolute", top: 0, @@ -63,10 +66,20 @@ const styles = (theme: Theme) => createStyles({ right: 0, bottom: 4, textAlign: "center", - background: "white", - color: "#666", + background: theme.mainBackground, + color: theme.palette.text.secondary, // zIndex: -1, + }, + titleSection: { + flex: "0 0 auto", alignSelf:"stretch", marginBottom: 8, marginLeft: 8, marginRight: 0 + }, + midSection: { + flex: "1 1 1", display: "flex",flexFlow: "column nowrap",alignContent: "center",justifyContent: "center" + }, + editSection: { + flex: "0 0 0", position: "relative", width: 60, height: 28,minHeight: 28 } + }); @@ -191,6 +204,7 @@ const FilePropertyControl = render() { //let classes = this.props.classes; let fileProperty = this.props.fileProperty; + let classes = this.props.classes; let value = "\u00A0"; if (this.state.hasValue) @@ -206,9 +220,11 @@ const FilePropertyControl = let item_width = 264; return ( -