57,441 questions
0
votes
0
answers
28
views
Vaadin 14 UI unit test exception when creating the test layout
I am writing my UI unit test code with Junit 4.12 and PowerMock 1.6.5. I have a MyLayout which extends Vaadin 14 VerticalLayout and try to test it. When I create a new instance for MyLayout (new ...
0
votes
0
answers
18
views
xflr5 - Cannot select anything from drop-down menus?
I am a beginner with xflr5, and I am trying to simply edit my main wing after opening it from the plane editor box. I click on "foil" and am trying to input a value for "foil", but ...
0
votes
1
answer
64
views
Barchart is taking full Width. How to restrict BarChart width in fl_chart?
I am using this BarChart in flutter using fl_chart package here is the code
class DailyUtilizationChart extends ConsumerWidget {
const DailyUtilizationChart({super.key});
@override
Widget build(...
0
votes
1
answer
43
views
Provider notifyListeners() is not update Consumers
I am using Provider in my application. I have designed a simple question-answering mechanism. My code suddenly stopped working even though I didn’t change anything. Could it be that I have reached the ...
1
vote
1
answer
74
views
C# – FlowLayoutPanel and UI stacking When Adding Multiple User Controls
I want to create an Employee Manager UI for my desktop application to make it visually appealing and well-structured. So, I started by creating my first UserControl to function as a DataGridView, ...
0
votes
0
answers
22
views
Laptop and Raspberry Pi Scripts Not Synchronizing After Sending Keystrokes Using Sockets
I am working on two scripts, one that works on a laptop and another that works on a rasberry pi. It should handle the main menu on the laptop, send it to the pi which decodes it and writes it to a csv....
1
vote
0
answers
203
views
Is it possible to embed ffplay?
ffmpeg's viewer, ffplay, has a lot of great options for optimizing viewing experience. I've been able to get it to nicely display an RTSP stream at low latency. However, it's been difficult to include ...
1
vote
0
answers
79
views
Unexpected Tkinter GUI behavior when run in Spyder (iPython) console, but not in terminal
I'm getting a strange problem. I recently converted a project from Mac to Windows and noticed some strange tkinter GUI issues that occur only on my Windows 11 platform, despite not changing python ...
0
votes
0
answers
55
views
How to exit a Python Win32 GUI program on Ctrl-C from invoking console
I have a simple Python Win32 program that works well when run under pythonw from a command prompt. When I run it under python, it keeps running in the foreground of the command prompt and can e.g. ...
0
votes
1
answer
144
views
How to add a separator for CTK Text Box?
I would like to add a separator line in between the entries of my text box but have not yet found a neat way of doing this.
I would also gladly appreciate any further comments on my code any ways to ...
0
votes
2
answers
100
views
How to drag item in LazyColumn when drag
Making draggable items in LazyColumn. I have implemented the functionalities when drag after long press the IconButton. But what I want is drag immediately after start dragging. But simply changing ...
0
votes
0
answers
36
views
Pega Mobile App: Dynamically Controlling Footer Navigation Visibility on Initial Load
I have a requirement to show/ hide Menu(s) on the initial load of the Pega mobile application dynamically.
Configuration:
#1 WHEN rule on the Desired Menu rule to conidtionally show/ hide based on a ...
0
votes
0
answers
48
views
How to create a static build on QTCREATOR Linux RaspBerry Pi 5
I am developing a GUI in QT CREATOR using a RaspBerryPi 5.
This GUI runs normally on the raspberry I am developing, it opens normally like a regular software.
However, when I try to run this same &...
0
votes
1
answer
76
views
How to stop updating a control during route change
I developed a simple app using Python Flet 0.21.2. The app consists into two main views: the 'Welcome' and the 'Login', each of them defined into separate classes. Routing occurs into the main() ...
1
vote
0
answers
86
views
How to remove quick share targets from Android (11) share sheet?
share sheet example
Disabling
android.permission.BIND_CHOOSER_TARGET_SERVICE
From apps services isn't working. Share targets still appears in share sheet.
So how to block them or remove the quick ...
1
vote
0
answers
60
views
How can I store the value of a Dash slider component?
I am developing an MRI file viewer app using dash and plotly. The way it works is I can select a specific MRI file from my dataset and the app will generate a slider that could take you through the ...
0
votes
1
answer
52
views
Updating Tkinter widget after function
I am trying to update the widget frame when I add a new folder to the users directory, but I am unsure how to implement that function. This is what I have so far..
How I add the current directory ...
0
votes
1
answer
81
views
Why -webkit-appearance: none is needed to style input[type="search"]::-webkit-search-cancel-button
I have a CSS Element such as given below:
<input type="search" />
And styling above element with below CSS:
input[type="search"]::-webkit-search-cancel-button{
-webkit-...
0
votes
0
answers
32
views
MUI Tooltip mobile stopPropagation
How to handle a mobile tooltips when you want close tooltips and you click outside, and want to stopPropagation on other elements like navigation etc.
const Overlay = () => (
<div
...
1
vote
1
answer
93
views
How to add premade dynamic JFrame Forms into existing JPanel
I'm trying to create a Dynamic UI to inventory items around the shop. Right now I have a MainMenu JFrame Form which can either select elements from the JTree on the left or the JTextField on top. I ...
0
votes
1
answer
95
views
How to Display Items In JPanel to use for Inventory System?
I'm currently making an inventory display menu to manage tools around the shop easier.
MainMenu (JFrame Form)
I want to make a GUI that populates a JPanel in a JScrollPane with a premade JPanel Form ...
1
vote
0
answers
51
views
listView screen update
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return ChangeNotifierProvider(
create: (context) => MyAppState(),
...
0
votes
0
answers
41
views
How can I add a button or other widget as a child and have it be visible in Glade?
Tl;Dr - Clicking and dragging a GtkButton or other widget into a GtkFixed doesn't make that button or other widget a child of GtkFixed, it makes it a sibling, and it sits in front of GtkFixed when I ...
2
votes
1
answer
87
views
PyQt: How to automatically deselect items in QListWidget? [duplicate]
When selecting an item in a QListWidget, it stays selected even after clicking on the blank space between the items.
This doesn't feel natural, as i'd expect the items to deselect after clicking away ...
2
votes
2
answers
141
views
Python cv2.imshow memory leak on macOS?
I believe I am witnessing a memory leak in the following Python code that calls OpenCV functions.
Can you reproduce this? Why does this happen? How can I work around it or fix it?
My environment:
...