Questions tagged [user-interface]
The part of the application that users directly interact with. Use this tag for reviews of code that defines how an application's user interface works and looks.
22 questions with no upvoted or accepted answers
19
votes
0
answers
1k
views
Progress Bar for Excel
Any future updates can be found at Excel-VBA-ProgressBar
What I've been using so far
For the last 6 years I've been using a progress form which I wrote in VBA using just Windows API calls. The code (...
6
votes
0
answers
8k
views
Page and center UICollectionView like App Store
I need a collection view to page through cells and center it like the App Store, where a portion of the previous and next cells look like this:
The native ...
5
votes
0
answers
516
views
Implementing a Basic Camera UI using WebGPU and JavaScript
Context
I am currently in the process of throwing myself into learning graphics programming, and my chosen platform is using JavaScript and WebGPU. After successfully making a basic glTF JSON renderer ...
5
votes
0
answers
2k
views
Reducing complexity in NSView event handling code in Swift
My Cocoa event code always tends to descend into madness, I need to advice on how to reduce complexity. I've spend a few hours putting this example together.
CanvasView is a layer hosting subclass of ...
4
votes
0
answers
288
views
Implementing a TTY loading / waiting animation
I implemented a class to animate waiting for processes:
...
4
votes
0
answers
4k
views
Creating Android layout with GridLayout
I'm trying to create a Layout with two columns which are next to each other (I'm accomplishing this behavior with a LinearLayout).
Inside each column, I have two TextViews and two Buttons, which I ...
3
votes
0
answers
629
views
Maintaining a complicated installer supporting per-user and everyone
Another challenge for developing rubberduck VBA project is to develop an installer that support per-user mode and everyone-mode.
Normally with an MSI package, one has a bootstrapper so it is possible ...
3
votes
0
answers
60
views
Reusable, manipulatable plots
I'm interested in mimicking a simple version of Mathematica's Manipulate function in javascript. This is my first project in javascript, but I was hoping to make a library that I can use to quickly ...
3
votes
0
answers
166
views
Adding swipe support to multiple classes
I have implemented swipe functionality using UIPanGestureRecognizer in a project.
What I have done is added PanGesture to ...
3
votes
0
answers
83
views
Multiple select widget in CoffeeScript
I created a widget to handle multiple selections in CoffeeScript. There's a working attached snippet that uses the compiled JavaScript (Stack Snippets don't support CoffeeScript), which is available ...
3
votes
0
answers
3k
views
File input control with rounded buttons and styled textbox
We have orange rounded buttons as a standard on our site. For our purposes, we switched everything over to use an anchor tag, instead of input type=button. The exception to this was the File Upload ...
2
votes
0
answers
179
views
Accessible nested multiselect list
I'm trying to figure out the most accessible and semantic way to allow users to select one or more options from a hierarchical list. Think a taxonomy of categories and subcategories.
I came across a ...
2
votes
0
answers
819
views
Create a map where countries can be selected using react-leaflet
I've only just started learning javascript and decided to try and make a simple app where individual countries can be selected, highlighting them, and the name appearing in the top corner.
The code ...
2
votes
0
answers
67
views
Generic DialogueBox class with different parameters
I have implemented a DialogueBox class which can be static, singleton, service locator, etc.
I have written it as a singleton pattern and implemented it in Unity3d engine. It is a part of a game.
I ...
2
votes
0
answers
166
views
CRUD UI for managing banners in React
How can I improve this code? I am a beginner learning react.
This is a UI for managing banners. Users upload the image for the banner and specify a start date and end date between which the banner ...
2
votes
0
answers
69
views
App showing a welcome page with an animal's picture
I have an app which shows a welcome page with an animal's picture. Also, we can navigate to a second view, where there are two canvas, and a collapsable panel which hosts controls' inputs.
The aim of ...
2
votes
0
answers
188
views
Comments on singleton Swift status bar alert
I was trying out some projects like a status bar alert. It made most sense for this status bar to be a singleton: there is only one alert visible at a time.
...
2
votes
0
answers
42
views
Comments on a 'PullableView'
I created a view called PullView which adds a level of interactivity to UI components. PullViews can be pulled sort of like a ...
2
votes
0
answers
138
views
Kivy language code of my Vehicle Details app
So I've written my first android app in kivy.
This app takes a Vehicle License Number as input from the user and submits it to a sites and shows the results from the site.
The complete Source Code ...
2
votes
0
answers
854
views
Graphical Flowchart Programming
This is an incomplete implementation of something similar to scratch. It's incomplete because right now, I'm working purely on the user interface.
I used Swing to make the basics of it, but then ...
1
vote
0
answers
17
views
Determine the maximum content size for a box such as a modal dialog
For a personal project, I try to write as much of my own code as possible, minimizing the use of libraries. I have a dialog box which contains an image and an arbitrary number of other elements that ...
0
votes
0
answers
48
views
Enable a textbox when the previous one is no longer empty
I've written this JavaScript code, which disables textboxes if the previous textbox is empty. This is so people enter the text in order — write first in the first textbox, only then the second textbox ...