57,441 questions
2
votes
1
answer
61
views
Implement same task for two different user interfaces in Kotlin [closed]
I am working on a program which has both a TUI (terminal user interface) as well as a GUI (graphical user interface).
The program has some functions which take quite a long time to complete (waiting ...
0
votes
0
answers
34
views
React-Native - why is the Toolbar imagebackground cutting off the tab button highlight?
I am trying to make a simple app tabbar where the selected tab is highlighted with a pill highlight image. The image works but as you can see in the image the bottom of the pill is cutoff.
import { ...
1
vote
1
answer
45
views
Resize table columns weird warning in PySide6 when disconnecting/connecting function to signal
I have the following function to be able to resize the first two columns of a table in PySide6 while keeping the third the same size since it contains a combobox and keeps the ratios they get of the ...
0
votes
1
answer
78
views
How to call an API on before unload event in react
How to call an API on before unload event in react, I have tried fetch with Keepalive true & sendbecon(doesn't support authorization headers in headers)
Also, I want to show dialog box with custom ...
0
votes
0
answers
27
views
Tkinter image label object is not going to the desired spot
I have this code with an upload image button and an image label.
import tkinter
from tkinter import filedialog, Label, Button
from PIL import Image, ImageTk
# Functions
def upload_image():
...
0
votes
0
answers
60
views
Netsuite suitelet embedded in iframe - dropdown won't allow selection
I hope you are doing well. I have developed main suitelet script to embed another suitelet in an iframe. Child suitelet contains date and dropdown field.
When I execute the main suitelet, I can see ...
0
votes
1
answer
54
views
Weird scroll behavior
I am trying to create a list of cards representing categories and I opted to use a custom widget instead of the provided Card widget so I can use images and apply rounded borders to them and I found ...
1
vote
1
answer
58
views
compose.material3 TopAppBar has a color transition effect when switching between light and dark mode
topBar = {
TopAppBar(
title = { Text("Norm Calculator") },
actions = {
IconButton(onClick = onThemeToggle) {
Icon(
...
0
votes
1
answer
40
views
How to implement collapsible sections on watchOS 10+ since DisclosureGroup is not available?
I’m trying to implement a collapsible section in a List on watchOS (watchOS 10+). The goal is to have a disclosure chevron that toggles a section open/closed with animation, similar to DisclosureGroup ...
0
votes
2
answers
172
views
Problems in scaling Java swing to full screen also Windows is making it harder
I want my program to be full screen so I use the following line of code in constructor of my frame class:
static GraphicsDevice device = GraphicsEnvironment.getLocalGraphicsEnvironment()....
0
votes
1
answer
208
views
How to change environment within the graphical interface of spyder?
I will provide a self answer to this question, it has been bugging me for years and I only recently found out the solution so I suspect that other people have encountered the same issue.
Q: Is it ...
0
votes
0
answers
68
views
How does Photoshop draw these Aero-style caption buttons?
I have noticed Adobe Photoshop CS5 draws Windows caption buttons in a very unusual way:
The buttons are not the standard Aero caption buttons (), since they are not at the top of the window, are ...
0
votes
1
answer
55
views
Interactive Plotly plots with file reader not reading correctly through button function in Python (VS Code/Jupyter)
I have a button function that uses filedialog.askopenfilename to read data from xls, xlsx, dpt, xy, and txt file types into a pandas dataframe. When I use the button and open anything other than xls ...
2
votes
2
answers
105
views
Flutter TextField, need to reposition the TextField label and solve label being always shown to focused position due to prefix
I'm trying to build a pixel-perfect design in Flutter that includes a TextField. The design requires the label to behave like this:
When the TextField is not focused and empty, the label should ...
1
vote
1
answer
29
views
InsertUI is shown as recalculating with fade opacity
In the minimum application example below the inserted ui appears with fade oppacity (css class .recalculating)
library(shiny)
# Define UI
ui <- fluidPage(
# this is where the UI will be inserted
...
0
votes
1
answer
40
views
How can I change SolidWorks Addin control appearance?
I have a c# app that creates a custom addin for SolidWorks. The addin is a taskpane using the Property Manager Page.
I am able to add controls to my groups, but I don't see any way to change the ...
0
votes
0
answers
33
views
How to properly define navigation and tabs in maui app?
I want to accomplish the following navigations in an Android app written in .net maui.
I don't know if I'm using the right approach to navigation and therefore I'm asking for help because:
the back ...
0
votes
1
answer
58
views
Set a QApplication on top of the screen with reserved space (like a taskbar)
General overview
I try to set just a minimal taskbar (like Polybar or i3bar, or any task bar you know).
The constraint are the folowing ones:
It should have a dedicate space to avoid overlaping with ...
0
votes
0
answers
35
views
Why doesn't absolute positioning in Android respect RTL layout direction?
I'm experimenting with the multilingual support in my Android application. Specifically, I want to support both LTR and RTL layouts. I created a basic test app where UI elements are absolutely ...
3
votes
2
answers
226
views
How do I implement Pie and Line Charts in Flutter for visualizing data?
I'm developing a Flutter app where I need to visually display data using charts. Specifically, I want to implement:
A Pie Chart to represent proportions or percentages.
A Line Chart to display trends ...
0
votes
0
answers
54
views
In Grafana business forms How do you reset 'select with custom options' to the default "Choose"
I have a grafana server and I am using business forms to make interfaces for others to use to add data to databases.
I have a form with a combination of text, radio buttons, and select (dropdown).
...
-4
votes
1
answer
158
views
UML Class Diagram for a simple Unity System
I'm a bit rusty with UML and unsure if my class diagram effectively represents the architecture of my Unity system.
Goal: I'd like the diagram to clearly show how GUI elements get updated through a ...
0
votes
0
answers
43
views
ViewPager2 stuck between two fragments
I'm using ViewPager2 with Fragment to load content. The ViewPager2 uses an adapter that is a subclass of FragmentStateAdapter. After rotating the screen orientation, the ViewPager2 ends up stuck ...
2
votes
0
answers
87
views
How would I disable "snapping" of elements when moving them in Scene Builder?
I'm designing a UI in JavaFx and I'm using Scene Builder to do so, but I can't move any elements with precision due to the uncontrollable "snapping" of moving elements in scene builder which ...
2
votes
0
answers
192
views
Taiga UI V4 dropdown not opening
I'm using Angular v17, Taiga UI v4 and Chrome browser.
I copied example from Taiga UI documentation to my code to create a very simple select/dropdown component. The problem is, no matter which ...