40,640 questions
Score of 0
0 answers
75 views
Android .Net Maui Button not responding
I just created a new .Net Maui App - selected my Android Emulator and hit Run.
the button does not fire the CLICKED method. If I run the same code for the Windows Emulator - it works just fine.
I did ...
Score of 0
2 answers
169 views
Why is getElementsByClassName(cn) empty if called in a recursive function and new elements with cn are on the page/in the DOM at the 2nd run?
The script is running on this newspaper page: https://www.derstandard.at/story/3000000320803/biobaeuerin-riegler-wir-koennen-nicht-mit-ochsenfuhrwerken-uebers-feld-ziehen which has a message board ...
Score of 1
2 answers
133 views
Html text on button won't change colour
I am trying to change the colour of the text on a button, and it just won't change.
Also, somewhat unrelated to the question at hand, if I put my "text-decoration:none;" up in the css ...
Score of 1
1 answer
85 views
tkinter second window pops up automatically before button is pressed
I assumed that if statement would mean that the user was required to press the button for the program to check if a non-float or non-int was entered in entry to trigger another window to open but it ...
Advice
0
votes
4
replies
92
views
Tkinter button does not display text after being pressed
I defined a function and to test it I previously had a print statement, and it worked with the user input that it gets from the entries, but it only prints in the terminal, not on the screen. Here is ...
Score of 2
1 answer
92 views
Toolbar button icon is displayed correctly either in the toolbar or in the overflow menu, but not in both
My app has a toolbar with a number of buttons.
In landscape mode, all buttons are displayed, but in portrait mode, some buttons are displayed in the overflow menu.
I can now use the following button:
...
Advice
0
votes
1
replies
57
views
How to toggle icon/image of Bootstrap button with jQuery and data attributes?
I have this button that toggles it's text from "Show more..." to "Show less..." whenever it's clicked:
<button
class="btn btn-sm btn-secondary"
title="...
Score of 0
3 answers
226 views
SwiftUI ToolbarItem borderless button has untappable padding areas
SwiftUI ToolbarItem: Button borders/padding visible but untappable
iOS 18+ / Xcode 26 - When using ToolbarItem with a Button styled .borderedProminent, the button shows borders/padding but those areas ...
Score of 1
2 answers
211 views
How to set up button custom colors for enabled, disabled, light and dark
I'm struggling to define custom button colors that handle all the different states required: enabled/disabled, light and dark theming, text and background colors.
For the colors in enabled and ...
Best practices
0
votes
2
replies
61
views
How can I make a jackpot slot in android studio
I thought I would make a button event that changes the imageview url, but the setImageResource method is somehow doesn't allow putting string. that made me sad :(
how can i do this?
String[] animais ...
Score of 0
0 answers
36 views
SwiftUI Button does not respect frame height limit and reaches into SafeArea [duplicate]
This is the stripped down version of a view I have in my project:
struct MyView: View {
var body: some View {
let buttonHeigth = CGFloat(40)
...
Score of 1
1 answer
102 views
Button with GlassProminentButtonStyle without the text effect
On my macOS application, I have buttons with the new `GlassProminentButtonStyle` button style applied.
The issue is that the icon and text are barely readable inside the button even with the proper ...
Score of 0
1 answer
147 views
Jetpack Compose: Bottom button moves up with keyboard, want it scrollable instead of resized
I am building a screen using Jetpack Compose with Scaffold, Surface, and ConstraintLayout.
The screen has a BasicTextField in the center and a Continue button fixed at the bottom.
When I tap on the ...
Score of 2
3 answers
117 views
How to differentiate context for a clipboard button in a dynamic DataTemplate?
(Solution at end)
I'm trying to implement a simple clipboard functionality in a section of my datagrid template, so that I can copy the contents of that cell with a single click, however, since this ...
Score of 2
1 answer
95 views
Bind buttons iteratively in tkinter? [duplicate]
I'm currently trying to create buttons in Tkinter dynamically, each button should have a copy_url() function assigned to it, and when clicked, the button should copy the url of the image that's ...