PeterStaev / NativeScript-Drop-Down

A NativeScript DropDown widget.
Apache License 2.0
105 stars 65 forks source link

backroundColor has no influence #68

Closed x00 closed 7 years ago

x00 commented 7 years ago

May be angular related.

$ tns info
All NativeScript components versions information
┌──────────────────┬─────────────────┬────────────────┬───────────────┐
│ Component        │ Current version │ Latest version │ Information   │
│ nativescript     │ 2.5.0           │ 2.5.0          │ Up to date    │
│ tns-core-modules │ 2.5.0           │ 2.5.0          │ Up to date    │
│ tns-android      │ 2.5.0           │ 2.5.0          │ Up to date    │
│ tns-ios          │                 │ 2.5.0          │ Not installed │
└──────────────────┴─────────────────┴────────────────┴───────────────┘

[ro.board.platform]: [msm8916]
[ro.build.version.sdk]: [23]
[ro.mot.build.version.sdk_int]: [24]
[ro.product.brand]: [motorola]
[ro.product.manufacturer]: [motorola]
[ro.product.model]: [XT1562]
[ro.product.name]: [lux_reteu]
[ro.revision]: [p2c0]
PeterStaev commented 7 years ago

Hey @x00 , you need to provide more details, as in the demo app attached to this repository background color is working.

x00 commented 7 years ago

css background-color works to an extent illustrates my other issue well

you get a coloured box when closed, then when open you get a white box, with small coloured red items which are not filling the width

screenshot_20170215-120539

x00 commented 7 years ago

issue caused by

stack-layout {
        horizontal-align: center;
}

Once this is removed it renders correctly.