Category "user-interface"

How can I compare User and password input to a text file?

Heyoo! I'm creating a simple login form using the swing package in java and I am having trouble in checking if the username and password is correct or not. this

Load and use a Glade layout in GTK2/C

I was trying to load a Glade layout into a GTK2 C code. It consists of a window in which there is a VBox with 2 elements: a label and a button. I want to associ

Gtk::DrawingArea's size_allocate signal not captured

I want to code a hand-free drawing soft using gtkmm. So I derive the Gdk::DrawingArea class and override it's on_size_allocate() function to initialize the surf

How can I make a JMenuItem open a JTextField when I click it?

I am writing code that lets the user enter, search for and remove participants. Right now I have the JFrame that has a JMenu on it with a few JMenuItems. When I

Arrow style over the text using css

I am trying to apply an arrow style on selected ul, li elements. However, I am quite sure how to do that. So far I am able to do this below is my code. .a

Is it possible to remove the "new article" button from all sections in a Joomla website?

A mate and I are doing an internship at university, and the project we are working on is a small Joomla 4.1 website. Our supervisors asked us to override the me

How to animate an app bar between screens in Flutter?

I'd like to create the appbar effect shown in the Gif below, where the leading icon persists between screens and the title does similar. Solely using Navigator.

Why is my design works fine only with small screen sizes?

I have followed this great tutorial to the letter to design modern UI using FontAwsome.Sharp RJ Code Advance Modern UI I have two issues , First in the form des

How to change colour when I click a button in guizero Python 3?

So I have written this piece of code in python3 guizero to change colour to red when I click the button I created. But whatever I do it's not working! I am not

tkinter, or function to pass filename into variable for use in other function

My code below is to be used in a GUI that has two buttons. One to ask the user to locate a txt file, the other to run a function using that file to clean the da

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