Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backgroundColor not setting #176

Closed
bradrice opened this issue Apr 30, 2018 · 4 comments
Closed

backgroundColor not setting #176

bradrice opened this issue Apr 30, 2018 · 4 comments
Labels

Comments

@bradrice
Copy link
Contributor

Not a big deal, but for some reason, backroundColor="red" is not setting a color for me.

I have been able to set it using css this way:

DropDown {
height: 40;
background-color: blue;
color: #fff;
margin: 12;
padding: 12;
border-radius: 4;
}

I would like to be able to set some other values on the StackLayout within DropDown but this doesn't seem to work.

DropDown>StackLayout>Label {
color: red;
border-width: 1;
border-color: #fff;
}

@PeterStaev
Copy link
Owner

You cannot style system created elements within the drop down. I guess you want to have different styles for the label and the items within the drop down. If so you can track progress on #142 .

@bradrice
Copy link
Contributor Author

I've been able to get it to look a lot like I want it to look just being able to style the DropDown. However, for some reason I have lost the little pull down triangle. I made the background a dark color. Is there a way to make the triangle pulldown white, too?

@PeterStaev
Copy link
Owner

Currently there is no such possibility (see #37). Also the arrow disappears if you have applied borders (#91)

@PeterStaev
Copy link
Owner

No further response so closing this one for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants