how to remove the black border in the toggle button when appeared in it is clicked? - toggle

enter image description here
I tried to remove that black border that appear when I clicked the toggle button, but I cant find the solution, Im using bootstrap5, please give me a solution

Just use "shadow-none" class on button and it will remove it.

Related

SearchBar Control Grays Out On Enter

On MAUI RC1 I'm seeing that when I type some characters in a SearchBar control and press Enter, the screen grays out, and then doesn't revert to it's normal color.
I've added a simple example above - you can see the background at the top of the screen is white, but the part of the screen that contains the search bar has the gray filter. I'm just wondering if it's supposed to add that light gray filter on top of the content, and if so, how do you make it clear back out?

Make Button NOT change title color when pressed

I can't find any other question on how to prevent this, and nothing I've tried is working perfectly.
I want to make it so the title color of the text on my button is ALWAYS white (I will do some other styling to make this look good still).
But, every time I press on the button, the title color changes from white to grey. How can I stop this? Preferably in the storyboard file instead of programmatically.
Images for illustration:
Not pressed:
Pressed:
Select -> Type: Custom in Attributes ispector

iPhone red circular button with 'x'

Probably a silly question here but I have been trying to find this for about an hour now. How do I create the circular red button with an 'x' that appears when navigating pages in safari for example. And is there an 'official' name of such a button type?
Screenshot
Thanks !
You'll have to create a button eIther from scratch or from the screenshot in an Image editor like photoshop and then import it into your project and set a button's image to the name of the image. There is no official name for this button and you can't add it to your app using a key or special method.

Icon/image over UIButton iPhone

If I want an image on my UIButton, and I still want to use the default white button. Is it ok to add an image(icon) over some parts of the button?
I have a button with the text 'Show on map' and I want a icon to the right.
Is this the only approach or are there other possibilities? When I add an icon over the button some parts of the button won't be "clickable".
Thanks in advance.
you could create a custom button that has an image the 'icon' and then the rest is transparent and then overlay this button over the standard one and give them the same action.
An easier way would just to be create an image that is the button exactly as you want it and use the 'custom button' style and use this as the backgroundImage.

IPhone: Custom Button - Why is title not showing?

So I basically dragged a button from interface builder's library, turned it into a Custom button. Then I added one png for the "default state configuration" and another png for the "highlighted state configuration". Let's just assume these png's are a red box and a blue box.
Now, I'd like the Title to display for the button i.e., "Press Me" or something. But the Title doesn't show. Am I missing something?? (I also tried to have that text in different colors but no dice...)
Thanks in advance.
Are you setting imageForState or backGroundImageForState? :)