35 questions
2
votes
1
answer
84
views
How to add a CustomButton?
I'm running Odoo 18.0 on Ubuntu 24.04.
Tried lot of ways to add a custom button in the ControlButton section besides 'Action' button, I even fully copied a code from this yt video of version 18.0, yet ...
0
votes
2
answers
266
views
Flutter Elevated Button not displayed after setting onPressed to null
I have following code for different variants of buttons:
import 'package:flutter/material.dart';
import '../common/texts.dart';
import '../common/colors.dart';
enum ButtonVariant { primary, ...
0
votes
0
answers
620
views
Pressable with custom icon onPress not working
I'm a React Native newbie and I'm trying to assess the viability of porting to Android a React Native app that was originally written (not by me...) with iOS in mind.
At the moment I'm not trying to ...
1
vote
1
answer
3k
views
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 ...
-2
votes
1
answer
1k
views
Multiple Input Text handle in object and array in react native
This is my code ....
react native
Multiple Input Text handle in object and array in react native...
Is it possible to share your code? Share the entire component where you have these groups of 5 ...
0
votes
0
answers
846
views
Custom UIView won't take up entire screen width as should
I've been cracking my head around this for days now and can't find what the issue is -.-
I have a MainActionButton which is a custom UIView that I created. These are the constraints I defined to it:
[]...
0
votes
1
answer
869
views
Swift - Custom UIButton Title Not Showing
I wanted to create hexagonal buttons that will not overlap if they are displayed in "honeycomb" fashion and only the correct button will be able selected. I found subclass to mask UIView ...
1
vote
2
answers
591
views
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 ...
4
votes
1
answer
3k
views
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 ...
0
votes
0
answers
119
views
How to define letterSpace dp in the Kotlin code (programmatically)?
I have a material customButton and I want to give it a letterSpace in the code part.
The letterSpace value is = 0.38dp.
I have tried this but this is not gives the result that I want:
class KycButton :...
1
vote
2
answers
42
views
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 ...
0
votes
1
answer
130
views
Button color won't change using background attribute in XML
I am trying to customize the design of my application and I ran into this weird problem which I can't figure out a solution for. I am trying to customize my buttons by defining a custom drawable for ...
0
votes
1
answer
279
views
How i can change signature of custom button c#
I have my custom button:
public partial class RaiseEvent : Button
{
public RaiseEvent()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{}
}
And i need to ...
0
votes
1
answer
169
views
Android Studio how to make a custom button with soft Transparen background
I've tried using Android Studio to create a button with a blurry transparent background, as shown in this picture, but unfortunately, I do not know how to implement it
Here is a picture of how I ...
0
votes
1
answer
251
views
How to pass current node object to to command in telerik RadtreeviewItem in wpf
I'm using Kendo Telerik RadTreeview control in WPF.. I have functionality that for each RadTreeViewItem node I'm adding a custom button which on command event show pop up.
I have added button and ...
1
vote
3
answers
8k
views
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!
1
vote
5
answers
2k
views
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?
36
votes
5
answers
40k
views
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 ...