The Scroll Indicator Style only has 3 settings, Default, White and Black. I want it to be Orange, how do I change the colour?
Looks like you can't customize this without delving deep into the source code, which is not recommended - black and white it is!
Related
I am designing a UI in SwiftUI. There are a few buttons that I have customised with a rounded rectangle. I want the color of that rectangle to be the same as the color of the text - blue by default, and light grey in disabled mode.
At present I am hardcoding the colors. Is there some variable or function available to match the system settings for either of those colors?
The default color of a button is .accentColor. This works for both light & dark mode too:
Color.accentColor
I can't seem to find out how to get the disabled button color yet, but I'll update this if I find out.
I would like to add a border to an HBox in GTK2.
I have tried wrapping the HBox in a GtkFrame, and while that works, the border is too thin for my needs and I could not find how to change that.
If this is possible, it would be an option.
Another approach I tried was wrapping the HBox in an EventBox and then coloring the EventBox's background to emulate a border.
Here, I ran into the problem that setting the EventBox's background color propagated the setting to the HBox itself.
If there is a way forward with this approach, it might be preferable, because of the added benefit of color choice (that said, if we can change GtkFrame's border color that might be work great too).
EDIT: I have reached something very close to what I'm looking for after managing to change the color of the GtkFrame surrounding the box only.
Still, I'd like to make the frame colored border a bit thicker and have not had much luck.
EDIT²: I have managed by essentially sandwiching two EventBoxes. I change the background color of the outer box and then change the background color of the inner box to match the default background. In this scenario, thickness can be controlled by the border width setting of the box.
I have enabled codemirror in summernote editor for code view and it works, but I have an issue with font color. Because I am using light color scheme for summernote and dark color scheme for codemirror color of text in codemirror is black (obviously from that light scheme summernote has). I would like somehow to override that and make that text white in codemirror. But how can I do it?
I have noticed that color comes from .note-frame * {...}, so I need somehow to change that.
Greets,
Dejan
I found the solution today.
And because it was not possible to override .note-frame * {...} color I decided to remove it. By removing this summernote is receiving main color of the page and that is perfectly fine, I mean why not? In 99% of cases we want the same color of the font on the entire page.
Anybody know the default settings of uiviewcontroller's title? Like text color, shadow etc..
A good trick for this, in the future, is to take a screenshot of the element you're trying to replicate and then just try and copy it side by side in photoshop until the pixels look the same!
The navigation item title is Helvetica-Bold with as size of 20.0f. Also, the shadow is 1px and black, with an opacity of about 0.5.
I want to create a Tabbar application.My basic necessity is that i want the color of tab bar icons to be red instead of the default blue color.(i.e the selected tab icon has to be of red color instead of the default blue color provided by apple).I dont want the color of the tab bar to be changed.I want it to be of the default black color.Hope the question makes sense.
I want the tab bar to look something like this
Thanks.
As nicktmro noted, you have to customize everything.
Check this previous answer:
Changing Tint / Background color of UITabBar
(check a couple of answers on this one, a later answer fixes problems with the accepted answer)
And this blog post:
iPhone TabBar Custom Background Image
ADDED
Here's another one that looks clean and easy:
Custom colors in UITabBar
Be sure to read the comment on the answer.
You will have to create your own "tab bar" controller. Unfortunately the "blue" color you are talking about is actually just an alpha level, not a shade of blue.