Skip to main content

All Questions

Tagged with
0 votes
1 answer
49 views

How to change button background color on click and make it stick in Flutter?

I have a test inside my app, so when you click on the button it changes color to green if it is correct. The background color change is done and working fine, but I would like to make the button green ...
Elena Epshtein's user avatar
0 votes
0 answers
32 views

How to prevent a button with transparent background colour to get the background colour of the form that instantiates it

I have a button with transparent background colour. The problem is that it gets the background colour of the form that instantiates it. using System; using System.Collections.Generic; using System....
user2102327's user avatar
0 votes
1 answer
161 views

Async images for background buttons with kivy

I need buttons that have as background some async images (from an url, like "https://www.python.org/static/apple-touch-icon-144x144-precomposed.png", not a file downloaded like "example....
Reiner wondersmith's user avatar
-1 votes
1 answer
1k views

Cannot set Maui button background color

Please check https://learn.microsoft.com/en-us/answers/questions/985217/change-maui-button-background-color-at-runtime. I have experienced the same issue. Background works but not BackgroundColor. And ...
WWW's user avatar
  • 9
0 votes
1 answer
122 views

KIVY: Button background not displayed despite source being specified

I am having a strange issue in Kivy where a button's background_normal and background_down values are being set to a directory path which is 'images/icons/software_icon.jpg' however when my program is ...
Vulturu's user avatar
0 votes
2 answers
82 views

Android Studio: how to add gradient to button after corner it

I want to design an sign in interface for my sample app, and like other app in the sign in i have 3 button. Sign in by using google Sign in by my app's account Sign up an account each button i had ...
Noob tv's user avatar
  • 29
0 votes
1 answer
60 views

How to have buttons appear on the screen?

In the code I want all the squares to be a single color. Allowing me to still change the colors of individual squares if I want to. But after I did that, the buttons disappeared from the screen. To be ...
user avatar
0 votes
2 answers
188 views

Button becomes unclickable on changing background color

Whenever i change the background color of a button in CSS, it becomes unclickable. Same happens if i remove button border in css HTML <div class="row"> <button ...
Karmic_Soul's user avatar
-1 votes
1 answer
124 views

How do I create elevatedbuttons over image in flutter?

I have a boxdecoration with an image as my background, how do I place elevatedbuttons over it, like windows icons in a desktop?
Julio Cesar's user avatar
0 votes
2 answers
879 views

How to change the color of material button when it's pressed on? [duplicate]

I changed the color of materialButton in themes.xml by overlaying the default theme: <style name="ShapeAppearanceOverlay.Roomie.Button" parent="Widget.MaterialComponents.Button"&...
Paula's user avatar
  • 41
2 votes
1 answer
109 views

Unable to get button background color

I am trying to obtain the current background color of a button from a randomized color palette. However, my app is always crashing when I try the following code. int activeColor = ((ColorDrawable)...
Muiruri's user avatar
  • 45
0 votes
2 answers
3k views

how to dynamically change background color of a button in angular material without the need to click on it

I'm trying to construct a web page using angular material where I have a drop-down select element and a bunch of FAB buttons to show status. What I would like to do is that if a click on the dropdown ...
Jin Ma's user avatar
  • 199
0 votes
1 answer
59 views

SWIFT(5.0 or Later) & Xcode(12.5) : Retrieving an Image from a tuple to serve as a button background

My Goal: Create an instance of an Image with associated Value to serve as a card in a card game. Images are loaded like so into my ContentView.swift class: let cardM1:Image = Image("Card_Minus_I&...
Ivan's user avatar
  • 427
0 votes
2 answers
60 views

Change background of button created with shape

I created this shape and set it to the background of button to make around button but I can't change the background color of my button: <?xml version="1.0" encoding="utf-8"?> ...
Bnw_Youcef's user avatar
0 votes
0 answers
437 views

Tkinter Image Button with transparent Background Python

I´m really new to python and trying to get a touch gui running with python. I designed it in figma and now I´m in to get the buttons running. The problem is, that Im not gonna get a transparent ...
WillGIam's user avatar

15 30 50 per page
1
2 3 4 5
22