Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
15 views

How to create many buttons in GLFW window without additional library

I'm using GLFW library for my GUI app. I need to create some buttons for users to click. From what I learned, GLFW do not have a built in function to add button. So I need to implement it myself. My ...
user28325222's user avatar
0 votes
1 answer
89 views

Why are my icons becoming blurry in Unity?

For some reason, I'm getting very bad quality in my game and edit scene in Unity. Take a look at two menu buttons that are about the same size. They both come out in different resolutions. This occurs ...
Jee's user avatar
  • 977
0 votes
0 answers
13 views

How to prevent variables from resetting after I press a JButton within Action Event method? [duplicate]

I am currently working on a number calculator using Java GUI but when I create the variables within the Action Event method, their values resets each time I press a button. I could not figure out how ...
Tony Lin's user avatar
0 votes
1 answer
59 views

using jbutton to generate random integers

I need help with java random in generator code .It's a button that when entered generates 8 digit random numbers . where to add the functionality in the button and how to add it should i declare in ...
PAUL OLUOCH's user avatar
0 votes
0 answers
54 views

How to change background-color of QPushButton in PyQtDarkTheme

I'm trying to change the background-color of my QPushButtons in PyQtDarkTheme, but it just doesn't work. My real project I'm working on: I've tried it like this, changing the text-color or ...
André's user avatar
  • 1
0 votes
0 answers
44 views

Tkinter: widgets are enclosed in white rectangles

My app has a background and various widgets. Unfortunately, these widgets are enclosed in white rectangles. I want these white rectangles to be transparent so that the background image of the app is ...
Marcin B's user avatar
0 votes
1 answer
60 views

How to style my FlatButton in Python Arcade

def create_click(self): button_style = { "font_name": ["Kenney Pixel", "Arial", "Kenney Bold"], "font_size": 20, "...
Maximilian Striegler's user avatar
0 votes
1 answer
98 views

Toggle layers in worldmap on node-red

I have a map tracking devices at work with multiple layers. However I do not know how to get input back from the map view into node-red to work on the data functions. Devices and layers are being ...
Karl Yeager KGY's user avatar
1 vote
0 answers
85 views

Example of draggable = 'true' property of dash html.Button element?

I am trying to find an example of the "draggable" property being set to "true" for the html.Button element (https://dash.plotly.com/dash-html-components/button) in dash core ...
faunebl's user avatar
  • 11
0 votes
0 answers
48 views

Why is this Windows Forms Button getting small when I run the app?

I was doing a small app to show a buddy how to do a basic UI with some buttons and stuff. Thing is, everything was going fine... until it was not. Literally. I added a new button the same way I added ...
Jay's user avatar
  • 1
0 votes
0 answers
11 views

How to display dealt cards using tkinter Library in python [duplicate]

I have been working with the tkinter library to create a basic gui that is able to deal cards out. I am currently having issues when trying to create a button that will pass cards from a deck. When ...
51014's user avatar
  • 23
0 votes
0 answers
110 views

Making a Matplotlib table interactive using PyQt

I have a project which is to make a chemistry periodic table using matplotlib and making it user-interactive using PyQt. The interactivity would be: when a cell/element is clicked on, more information ...
ChikN42 -'s user avatar
0 votes
1 answer
324 views

Enable == False is not working for UI disabled button in tosca

We are using angular 9 and typescript as Frontend and trying to scan a UI page. I was able to scan. but for the button the enable is always coming true even in UI the button is disabled. I want to ...
user23299743's user avatar
1 vote
0 answers
56 views

Spyder TKinter buttons require multiple clicks before execution

I'm new to Python and currently working on a password generator program using the Spyder IDE with TKinter. I'm encountering an issue where, especially after the first run, clicking any button in my ...
Gary L's user avatar
  • 11
-4 votes
1 answer
273 views

Unity 3D IMGUI Control, Gui. Button select /active use keyboard

For Unity3D Or need to use old OnGui/Gui.Button. for an old project, I therefore cannot use the new UI because it would require the conversion of the entire project. My problem that I can't solve, I ...
Wonder76's user avatar
-1 votes
1 answer
70 views

C# WPF CanExecuteChanged

I have created a CustomControl which extends TextBox. Within my control I have added a button: AppTextBox.cs public static readonly DependencyProperty ButtonCommandProperty = ...
Richard Gale's user avatar
  • 1,942
0 votes
1 answer
67 views

How is to create button with icon in WINAPI

I have a button. HWND button = CreateWindow("button", "test_text", WS_VISIBLE | WS_CHILD, 0, 0, 500, 500, window, NULL, NULL, NULL); "window" is my HWND variable of my ...
Rarest Loki's user avatar
0 votes
1 answer
31 views

Hide The Diamond Game - Hiding a dimaond behind one of 10 buttons

I am currently making a game called "Hide The Diamond", It consists of 10 Buttons and once the hideDiamond button is pressed, the diamond is then placed behind one of the random numbers\...
AJHedges's user avatar
0 votes
1 answer
52 views

Sequential buttons and actions in tkinter

I am programming a little GUI in which the user can upload an excel file by pressing the button "Browse File Directory". After that, the program should show the first 5 lines as a preview of ...
newtook's user avatar
  • 15
0 votes
0 answers
25 views

Trying to Create Buttons from a list with Kivy

I am creating a program for my Electronic health records (EHR) where the user, after logging in can create multiple doctors under the same account. I want to create a screen 'SignIn_MD' where the ...
user22600459's user avatar
0 votes
1 answer
120 views

Flutter: How can I prevent button from overflowing the parent container?

I am trying to create a widget that has a button at the very bottom. What it should look like However, the bottom of my button is extending beyond the parent container and I'm not sure how to fix ...
DCXan's user avatar
  • 1
3 votes
1 answer
843 views

How can I remove Button opacity animation on tap?

I hava a custom dropdown list and the top item is a button (because .onTapGesture didn't work with the items I have in the title) for which I want to remove the tap effect (oppacity change of the text)...
Lce's user avatar
  • 43
0 votes
0 answers
291 views

SwiftUI Label for Button won't show text when the text is a class variable changed by a class function

I have a class that has a text variable and a function that changes the text variable based on an integer variable thats also in the class. The text variable is used as the label for a button. When I ...
KGBTrump's user avatar
0 votes
0 answers
30 views

Python: Adjusting Text Size in a Button [duplicate]

I'm making a simple GUI with TKinter. I use this code to create a button with some text labelling it: myButton_multiply = Button(root, text="*", padx=44, pady=20, bg="#7FFFD4", fg=&...
Waseem Esayed's user avatar
0 votes
1 answer
330 views

Cannot get hover and select on UI buttons to work in Unity

I'm having trouble making a very simple main menu. I've looked up many tutorials and other Stack Overflow questions, but many are pretty old and Unity updates regularly. enter image description here I'...
Cassiopeiic's user avatar
1 vote
0 answers
22 views

I can't clear the graph output whenever I click a button

this is more of a follow-up to my last question, but I'm trying to build a gui using ipywigets. The problem I still have is still related to my last post - clearing the output. I have changed the code ...
daza's user avatar
  • 37
1 vote
1 answer
193 views

The clear_output isn't clearing the output whenever I click a new button

so I'm trying to create an interactable Gui with ipywidgets. And it's mainly going fine except for one part - the clear output. So the code is suppose to do this -> you click a button and it shows ...
daza's user avatar
  • 37
1 vote
1 answer
112 views

Buttons won't appear in Fyne GUI

I created a window in fyne and it is supposed to show buttons I also created, but none end up showing up, even though I initialized them. I am not sure what my error is. a := app.New() //fmt.Println(&...
T. J. Foster's user avatar
1 vote
1 answer
64 views

What's the use of using a lambda function to call a function?

So, as the title suggest, I don't know what's the use of using a lambda function to call another function, especially when putting that lambda function as a keyword argument in a widget such as a ...
Watermelon's user avatar
1 vote
0 answers
526 views

Unity treating selected button as different from highlighted button

I am using Unity's standard button behavior, with automatic navigation, plus my own script to allow me to press e to select the currently selected button, and it works perfectly on multiple menus in ...
Joseph Squires's user avatar
1 vote
0 answers
46 views

How can I avoid main plot stopping when closing a second figure?

I have a small python script that displays a Matplotlib plot. This main plot is continously updated in a loop. In this plots figure, I have a button that when pressed, executes a callback that opens a ...
Diarmaid O Cualain's user avatar
0 votes
1 answer
207 views

How to set a max width for a material button in flutter on wider screens?

My Material buttons are too big and I need a way to give them a max width. I tried Contarinedbox and it does not work here is my code: Container( margin: const EdgeInsets.only(left: 100.0, ...
Ibrahim Memon's user avatar
0 votes
2 answers
95 views

How can I use a button widget to grab an item from a listbox?

When I press the "Take" button, it should grab the item from the Listbox and put that item into the "You are carrying" list as well as update the room and the Listbox. I was ...
Bella B's user avatar
1 vote
0 answers
45 views

Why is the button of JavaFX not displaying when switching between scenes?

I am currently studying Java and my university has asked me to create a small JavaFX app. However, I am having an issue with one of the buttons I set - it is not displaying on certain scenes, while ...
Andres Soza's user avatar
0 votes
2 answers
188 views

why my button in python arcade section seems inactive?

Hello this is My first post on stackoverflow, so I apologize in advance if my post is irrelant or problematic. I am using the python libraries Arcade and Arcade.gui. Currently I try to add GUI widgets ...
Duchemin74's user avatar
-1 votes
1 answer
62 views

In Matlab, how can I run 2 separate programs simultaneously, each turned on and off by separate buttons?

For ex., I have Program 1 & Program 2, when I run commandPrograms program it will open up two buttons. One button will turn on and off Program 1, and the other button will turn on and off Program ...
Gad11ng's user avatar
  • 25
0 votes
1 answer
32 views

Need help in the android layout

I code my android application: K-map solver. So I need to create the layout for kmap. I coded it and get the next view: Code of this layout: `<TableLayout android:id="@+id/table" ...
Dmytro Bilash's user avatar
0 votes
1 answer
50 views

Flutter align objects

I am trying to align 4 objects I created myself. They have a button and a text below. I am using mainAxisAlignment: MainAxisAlignment.spaceEvenly,. But one of my texts inside one object is a bit wider ...
Robban13's user avatar
  • 102
1 vote
0 answers
27 views

Why do the color of my buttons depend on my active window state (tkinter GUI, macOS)?

I am trying to make a basic chessboard GUI using tkinter in Python. I am running this through VSC. There is not much code to my application, but what seems to be happening is that I set the background ...
VPK's user avatar
  • 54
1 vote
1 answer
157 views

How to wait for a key to be pressed?

I'm currently using jnativhook from: https://github.com/kwhat/jnativehook to listen for nativekeys. I was trying to make a button that waits for a nativekey to be pressed, and sets that input as the ...
Leo's user avatar
  • 15
0 votes
1 answer
439 views

UX: should I hide basic functionality that users can't reach?

I'm working on dashboards now, e.g. employee form. Some users have permissions to delete employee and some are not. Usually these permissions are changed only if user assigned to new type, e.g. from ...
Joules's user avatar
  • 1
0 votes
1 answer
1k views

How to add custom buttons on UI using prompt?

I have this problem. I was trying to build a spreasheet that, on open, would prompt a UI that allows the user to select between 3 custom buttons. A real scenerio would be this: on open, it displays ...
Vastans's user avatar
  • 19
1 vote
1 answer
966 views

Can I "click" a WinUI 3 Button from code?

I would like to programmatically cause a Click event to fire for a Button in a WinUI 3 desktop app. I've seen lots of questions about how to deal with this on SO but the answers all involve invoking ...
aturnbul's user avatar
  • 397
0 votes
1 answer
840 views

How can I change the disabled button color in Flutter?

I'm trying to create a theme for an app that has white buttons with black text but when I disable a button, it is almost indistinguishable from an enabled button. I want the disabled button to have a ...
Eddy Todd's user avatar
1 vote
1 answer
213 views

How to make overlapping buttons?

Is there a nice way to make two buttons overlap in such a way that when their intersection is cliked, both buttons will be activated at the same time? I tried to change mouse_filter parameter, but it ...
Max Kalentsov's user avatar
0 votes
1 answer
70 views

C# Dynamicaaly Add and Delete buttons

From the below code, I dynamically create a list of buttons based on client names provided by a TCP connection from the clientNames[i] list. private void updateClientListUI() { if (...
King's user avatar
  • 451
-1 votes
1 answer
142 views

How to make restart python program button using tkinter button

im try to make restart button for my python program gui My gui but im still confused how to do it. Anyone know how to make the button to restart python code ? I appreciate every help.
fera fani's user avatar
0 votes
1 answer
63 views

Flutter - How can I make 2 buttons be as large as the largest of them?

I have two ElevatedButtons inside a Row widget and I need both of them to be the same length but only as large as the largest button. Here's my current code: class Home extends StatelessWidget { ...
Eddy Todd's user avatar
0 votes
2 answers
113 views

Title not showing properly using Tkinter GUIs in Python

I am currently trying to learn doing simple GUIs with Python using the package Tkinter. I wrote this program for a To Do List: import tkinter import tkinter.messagebox import pickle root = tkinter....
Arctic_Skill's user avatar
-1 votes
1 answer
445 views

OnClick event is set on all buttons while i set on one in unity [duplicate]

So, this code is supposed to set onclick events for each button, and each onclick event should have its own id. But, it makes so every button has the same onclick event with the same parameters. The ...
CrisDev's user avatar
  • 11

1
2 3 4 5
20