|
@@ -28,7 +28,7 @@ export default class BaseHolder extends React.Component {
|
|
width,
|
|
width,
|
|
height,
|
|
height,
|
|
overflow,
|
|
overflow,
|
|
-
|
|
|
|
|
|
+ CoreSystem,
|
|
stretchContainer,
|
|
stretchContainer,
|
|
content,
|
|
content,
|
|
...restProps
|
|
...restProps
|
|
@@ -36,7 +36,7 @@ export default class BaseHolder extends React.Component {
|
|
if(!width) width = undefined;
|
|
if(!width) width = undefined;
|
|
if(!height) height = undefined;
|
|
if(!height) height = undefined;
|
|
let styl = [styles.base];
|
|
let styl = [styles.base];
|
|
- if (selected) styl.push(styles.selected);
|
|
|
|
|
|
+ if (CoreSystem._devMode && selected) styl.push(styles.selected);
|
|
if (stretchContainer) styl.push(styles.stretchToContent);
|
|
if (stretchContainer) styl.push(styles.stretchToContent);
|
|
return (
|
|
return (
|
|
// self container
|
|
// self container
|
|
@@ -52,7 +52,7 @@ export default class BaseHolder extends React.Component {
|
|
{content}
|
|
{content}
|
|
<View WRAPPER={true} style={ //children Container
|
|
<View WRAPPER={true} style={ //children Container
|
|
[
|
|
[
|
|
- (!!content || stretchContainer) ? styles.stretchToContent : {borderColor:'yellow'},
|
|
|
|
|
|
+ (!!content || stretchContainer) ? styles.stretchToContent : {},
|
|
{
|
|
{
|
|
justifyContent,
|
|
justifyContent,
|
|
alignItems,
|
|
alignItems,
|
|
@@ -89,10 +89,9 @@ const styles = StyleSheet.create({
|
|
contentWrapper: {
|
|
contentWrapper: {
|
|
},
|
|
},
|
|
selected: {
|
|
selected: {
|
|
- boxShadow: 'inset 0px 0px 1px 1px #fce8e8',
|
|
|
|
- border: '1px solid #f28d8d',
|
|
|
|
-
|
|
|
|
- // boxShadow: 'inset 0px 0px 1px 1px rgba(250,10,0,0.81)',
|
|
|
|
|
|
+
|
|
|
|
+ borderWidth: 1,
|
|
|
|
+ borderColor: '#f28d8d',
|
|
shadowColor: "rgba(250,10,0,0.81)",
|
|
shadowColor: "rgba(250,10,0,0.81)",
|
|
shadowOffset: {
|
|
shadowOffset: {
|
|
width: 0,
|
|
width: 0,
|