Skip to content

Commit

Permalink
Fixes Selected Node Graph Options UI
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderHYang committed Nov 19, 2020
1 parent 80e3653 commit c359b75
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions argo-lite/src/components/panels/SelectionPanel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ class SelectionPanel extends React.Component {
render() {
return (
<div>
<br/>
<SwitchCollapsable
name="Override Size"
isOpen={this.state.sizeOptionOpen}
Expand Down Expand Up @@ -94,6 +95,7 @@ class SelectionPanel extends React.Component {
/>
</div>
</SwitchCollapsable>
<br/>
<SwitchCollapsable
name="Override Color"
isOpen={this.state.colorOptionOpen}
Expand Down Expand Up @@ -126,7 +128,9 @@ class SelectionPanel extends React.Component {
}}
>
<div className={classnames(Classes.CARD, "sub-option")}>
<section> <p style={{textAlign:"left"}}>
Choose Color:
<span style={{float:"right"}}>
<Popover2>
<Button
text=" "
Expand All @@ -147,8 +151,12 @@ class SelectionPanel extends React.Component {
}}
/>
</Popover2>
</span>
</p>
</section>
</div>
</SwitchCollapsable>
<br/>
<SwitchCollapsable
name="Override Label"
isOpen={this.state.labelOptionOpen}
Expand Down Expand Up @@ -195,6 +203,7 @@ class SelectionPanel extends React.Component {
/>
</div>
</SwitchCollapsable>
<br/>
<SwitchCollapsable
name="Override Shape"
isOpen={this.state.shapeOptionOpen}
Expand Down Expand Up @@ -227,7 +236,9 @@ class SelectionPanel extends React.Component {
}}
>
<div className={classnames(Classes.CARD, "sub-option")}>
<section> <p style={{textAlign:"left"}}>
Node Shape:
<span style={{float:"right"}}>
<Select
items={[
"circle",
Expand All @@ -250,6 +261,9 @@ class SelectionPanel extends React.Component {
>
<Button text={appState.graph.overrideConfig.shape} />
</Select>
</span>
</p>
</section>
</div>
</SwitchCollapsable>
</div>
Expand Down

0 comments on commit c359b75

Please sign in to comment.