|
@@ -56,6 +56,14 @@ export default class ContainerEditor extends React.Component {
|
|
{this.createHandler(structure, nodeProps, 'width', (val) => this.update('width', val), 'W')}
|
|
{this.createHandler(structure, nodeProps, 'width', (val) => this.update('width', val), 'W')}
|
|
{this.createHandler(structure, nodeProps, 'height', (val) => this.update('height', val), 'H')}
|
|
{this.createHandler(structure, nodeProps, 'height', (val) => this.update('height', val), 'H')}
|
|
</View>
|
|
</View>
|
|
|
|
+ <View style={styles.row}>
|
|
|
|
+ {this.createHandler(structure, nodeProps, 'paddingTop', (val) => this.update('paddingTop', val), 'Top')}
|
|
|
|
+ {this.createHandler(structure, nodeProps, 'paddingBottom', (val) => this.update('paddingBottom', val), 'Bottom')}
|
|
|
|
+ </View>
|
|
|
|
+ <View style={styles.row}>
|
|
|
|
+ {this.createHandler(structure, nodeProps, 'marginLeft', (val) => this.update('marginLeft', val), 'Left')}
|
|
|
|
+ {this.createHandler(structure, nodeProps, 'marginRight', (val) => this.update('marginRight', val), 'Right')}
|
|
|
|
+ </View>
|
|
</View>
|
|
</View>
|
|
);
|
|
);
|
|
}
|
|
}
|