Questions tagged [custom-button]

34 questions
32
votes
5 answers

How to add the custom button which executes a Django admin action to change form page?

I have already defined a custom admin action for my model which works perfectly as expected. I also looked at multiple ways of adding a button to the admin change form page here on SO. The only step that I am missing is how do I make a button in the…
dsalaj
  • 2,857
  • 4
  • 34
  • 43
3
votes
1 answer

Can I hide the text of the Sign In with Apple button? (a.k.a ASAuthorizationAppleIDButton)?

I am implementing Sign In with Apple on my iOS app (SwiftUI). In SwiftUI, I can use the 'SignInWithAppleButton' (https://morioh.com/p/524e0408008c), this button displays the Apple logo and a text that can be "Sign In with Apple", "Sign Up with…
ceyquem
  • 2,079
  • 1
  • 18
  • 39
1
vote
1 answer

Can FullCalendar customButtons have custom colors

We are adding custombuttons to our fullcalendar like below. Is there a way to change the background and foreground color of the button? And is there a way to set padding or margins to the custom buttons? var calendar = new Calendar(calendarEl,…
Jerry
  • 6,357
  • 8
  • 35
  • 50
1
vote
2 answers

How to make a button return to its initial state

I created a custom button where it expands on the first tap, and on the second tap, it will go to another screen. Now, the problem is, I created three instances of that button. So, the button that I tapped first remains expanded and would not go to…
Burikay
  • 83
  • 6
1
vote
2 answers

Is it possible to make transparent just one instance of custom button?

I have a custom button and its background is blue. I have used it in many activities but just in 1 place I want to make my button transparent without effecting other. So how can I make transparent just one instance of custom button in my project?
1
vote
1 answer

Add style to element over the custom button in TinyMCE 5?

How can I add style (etc. padding-left: 10px;) or css class to an element over the custom Button and custom Context toolbar in TinyMCE 5? This is what I've came so far: editor.ui.registry.addButton('addstyle', { icon: 'plus', …
1
vote
3 answers

Custom Flutter Buttons in a row

I want to make a Button that looks like the picture above with Flutter. But I have no idea how to make it... help me, please!
Kim Dojin
  • 161
  • 3
  • 13
1
vote
5 answers

How to draw multiple horizontally circles in rectangle (UIButton or UIControl) Swift iOS

How to draw about three circle in horizontally area with main and ring color in rectangle. I need to create custom button with this circles, something like this: Is there any good way to do this?
1
vote
1 answer

Drawing a custom button with hot or pressed state

I've created a custom button control. Basically one button-rectangle, but with two areas inside the rectangle that have a different behavior. For that reason I want to draw the hot and pressed state ONLY for the specific areas, not the hole…
Michael
  • 1,931
  • 2
  • 8
  • 22
0
votes
0 answers

Changing the standard telegram authorization button to your own

There is a standard telegram authorization script that contains an iframe, how to change the authorization button to your own?