Category "user-interface"

How can I query for keyboard input in a GUI app without using a pre-built input form?

In a console app, I could put Console.ReadKey() in an infinite loop, and I have what I wanted. But how can I do that in a GUI app? Let's say I'm using the new M

How do WCAG 1.4.3 Contrast (Minimum) and 1.4.11 Non-text Contrast relate to text in UI components?

WCAG 2.1 introduced success criterium 1.4.11 Non-text Contrast for UI components like checkboxes, sliders etc. Would it be safe to ignore 1.4.11 for the backgro

2D graphics API for an interactive GUI to replace OpenGL on MacOS

Apple has deprecated OpenGL. In anticipation of OpenGL being removed from MacOS altogether, I would like to rebuild my mouse driven GUI using some other graphic

Syntax highlighting in egui Rust

I'm writing a text editor in Rust using egui. I am trying to implement syntax highlighting, so I followed the example in the demo. It works there, so I thought

How to remove the space under the elevated button at the bottom of the screen?

import 'package:flutter/material.dart'; class AddPlaceScreen extends StatefulWidget { static const routeName = '/add-place'; @override _AddPlaceScreenSt

How to check if a player has collided with any wall Java

I am making a maze game and I am trying to implement a wall feature that will restrict the movement of a player if he collides with a wall. I have created a wal

How to add a horizontal separator to a gtk tool palette?

I know that tool palettes can't have widgets added to them directly, only tool item groups. I have a group with all the buttons I want and its added and everyth

How Can i execute something in one window and it happens on another (chrome)

I want to make a GUI which opens in a pop-out window. It needs to be able to access the console from the original window.(aka needs to run commands from pop-out

dateEntry to only extract the year from user input instead of daymonthyear? In Python

I am creating a GUI using tkinter in python and I want to print the date of what the user had selected using dateEntry. Here is what my code looks like: import

UI bug while updating recycler view

I'm using FirebaseUI FirestorePagingAdapter for recycler view adapter and the recycler view uses GridLayout type with 2 columns . The recycler view item block

Why won't my new layout be displayed dynamically on my GUI ? Python - PyQt

I'm trying to print some text in a new layout when a button is pressed. Unfortunately if won't work and I can't find the problem to solve it. Thank you for your

Bind JSON attribute with livewire

I have a Test model, with the JSON attribute inputs, which is a flat array of strings (e.g. ['foo', 'bar', 'baz']). I'm trying to bind this field up to Livewire

How do I make two seperate stopwatches controlled by two different stop and start buttons in tkinter gui. My computer wont let me

I am trying to make a timesheet where every employee times in in the morning and times out at the end of the day. It is going well so far but, I the Why is the

Inspector to temporarily modify UI elements of Windows Desktop Applications

Is there a way to inspect and temporarily modify controls and elements of a Windows application like how a browser has dev tools which allows for doing that to

How to give daily updates in a flutter app

I am building an flutter app for our office in which I want to add a feature that gives updates on daily basis such as custom news or tasks that employees have

UX associate table to another

It's not really about having issues with a specific language. I'm just wondering how I should display associated tables. Here is my problem. I have to build an

error: LNK 2005 when i include regex, vector, or curlpp in c++ CLR

I'm new to C++ CLR development. I'm trying to develop a GUI app but when i include vector/regex/curlpp i get an error while compiling LNK 2005. Anyone have any

How do I align a JPanel centered underneath another JPanel?

I have the following GUI that I'm working on. import javax.swing.*; import java.awt.*; public class gui{ public static void main(String[] args) { /

Create a VSCode style menu in electron

I am exploring electron for the past week and I come across a question about how can I create a costume menu in Electron just like VSCode does have it. Just lik

Dropdown menu won't move objects down

I'm instantiating objects/prefabs into a vertical layout group in Unity. each of these objects have a dropdown menus, but my issues is that when I'm expanding t