57,441 questions
3
votes
0
answers
110
views
Why does not using the Event dispatching thread cause a deadlock?
I have read this thread and verified that it results in a deadlock (JavaSE-22). However, I simply cannot figure out why. Can anyone kindly explain what exactly happens? I know that we are NOT supposed ...
1
vote
0
answers
55
views
How can I print a help message to the console from a pyproject GUI script?
I have a python project that uses a pyproject.toml file to define a GUI script:
[project.gui-scripts]
my-script = "my_project.cli:cli_run"
I have a --help option that should print a help ...
0
votes
1
answer
421
views
How to remove the "4 files to analyze" messages from vscode?
As explained in My VS code status bar is showing "42 files to analyze" numbers that keeps increasing , VS code flashes a message when it analyzes files (in Python). While I like and use the ...
0
votes
1
answer
158
views
Buttons in a scene inside another scene in a CanvasLayer can't be pressed
So I have an Inventory scene, where I have my UI and some buttons. In my main scene, I have a CanvasLayer so that all the UI follows the camera properly. However, when I put my Inventory scene as a ...
0
votes
1
answer
99
views
How can a WPF application wait for windows to be fully opened by the UI thread before processing them?
I need to build an application that opens complex windows (windows that take about 1 minute for the UI thread to open them). Then, once they are open and loaded, start generating images of these ...
0
votes
0
answers
265
views
How to create draggable widgets in iced-0.13.x
I use iced_0.13.1 to build up my app and want to realize a draggable item.
A minimal(ish) reproduceable example:
use iced::{
advanced::{image, mouse},
widget::{
canvas::{self, Geometry,...
0
votes
2
answers
67
views
Make responsive UI element to be expansible vertically in Flutter
Trying experiments with Flutter and found this article how to build a Responsive UI for multiple screen sizes.
I want to make 'Header' area to be expandable. Found ExpansionPanel class but can't make ...
1
vote
1
answer
97
views
First time and during refresh only API call should call and give response
API call should get called in home page during first time page load and during refresh,
If navigate from other page to home page, API response should not get update. give some idea how to handle this
...
0
votes
0
answers
140
views
Dockerized GUI applications won't run on my Fedora 41 machine: Failed to connect to the bus & Missing X server or $DISPLAY
When I'm running the following command,
docker run --network host -e DISPLAY -it -v $PWD:/cypress -w /cypress --user $(id -u):$(id -g) --entrypoint=cypress cypress/included:13.6.4 open --e2e --browser ...
1
vote
1
answer
50
views
Unity - GUI not updating accordingly to the data a python script sent
I'm trying to recreate a SpeedoMeter in unity where the RPM data is getting sent from a python Script. I used sockets to send the data to my unity app instead of request as for some reason, I keep ...
-2
votes
1
answer
213
views
Remove default title bar while keeping default borders (Win API and C++)
I am trying to replicate the GUI of the Powershell, Firefox, Word,... with the Win API in C++. We can see that the default title bar is removed and the client area is taking the whole window while ...
0
votes
1
answer
28
views
Prevent query nodes to reset joins and displaying it falsely in SAS Studio
When working in a SAS Studio 2024.12 (and below) flow I sometimes have a problem with the Query Node, when I alter one of the input nodes/tables.
Given setup like:
... -> T1
\
[...
-1
votes
1
answer
70
views
wxButtons Not Loading Correctly [closed]
I am creating a GUI using wxWidgets in C++, however one issue I am having is the buttons won't load properly when I use a wxStaticBitmap background.
I have moved the code everywhere in different ...
0
votes
0
answers
47
views
SVG animate tag breaks the path d tag [duplicate]
When we use dynamic values in the D property of the Path tag and have an animation, this reactivity in the D property stops working.
Using dynamic values on D property and use animation with <...
0
votes
0
answers
173
views
How do I get an overlay added behind the kendo-window that will disable the background functions like dialogs do?
I am using Kendo UI Window instead of dialog so that user can see the data behind the window but I want to disable the click events behind the window.
I have tried to set the htmlAttributes: {'modal': ...
3
votes
1
answer
69
views
C# WinForms TabSelector Icons drawn fuzzy, why?
I have been working on a .NET application for our company. I'm having a weird issue with the MaterialSkin TabSelector where properly sized icon images are being drawn low quality. From all the ...
0
votes
0
answers
74
views
strange line when putting scrollview inside of NavigationView- SwiftUI MacOS
If i have the following code in a SwiftUI view:
NavigationView {
NavigationLink(destination: ScrollView{}, label: {
Text("Thing")
})
}
It creates this ...
0
votes
1
answer
236
views
How can I make a sidebar in my Streamlit app appear only in one specific tab, close when switch to other tabs, and reopen when returning to that tab?
How can I implement functionality in my Streamlit app where a sidebar is displayed only in one specific tab, and after entering all the details in that tab, the sidebar automatically closes when ...
0
votes
1
answer
55
views
Tkinter: Prevent Entry widgets from stretching when generating a grid
I am building a simple application in Python using Tkinter where the user can specify the number of rows and columns they want in a grid. Based on the input, a grid of Entry widgets is dynamically ...
1
vote
1
answer
133
views
How to set initial background color of Mac Catalyst windows?
My iOS and Mac Catalyst app uses a dark color theme by default, regardless of the system color theme. When the app presents a modal view controller (a popup or a popover) on iOS, the background of ...
0
votes
1
answer
82
views
How to delete margins or spaces or padding between text vertically in flets
I have 2 Text() inside page.control, then I run it but I found margin/distance between Text(), I want to remove it
code
from flet import *
def main(page: Page):
page.controls = [
Text(&...
0
votes
1
answer
152
views
Implementing scrollable view flipper for Android widget
I'm trying to implement something like below this in a home screen widget.
Trying to use a ViewFlipper but it does not allow user control and only has option to automatically flip the views. What I ...
0
votes
0
answers
129
views
Not able to see ui/appearance changes in clerk
I've been using clerk in one of my projects and after making the project and deploying it I discovered that we can change the UI to dark mode and remove the development mode footer
enter image ...
0
votes
0
answers
73
views
View list of controls for winforms [duplicate]
In Winforms, is it possible to get a view of all the controls used in a form and their structure? Not the GUI design preview that shows how the window looks, but a more abstract view of the structure ...
0
votes
0
answers
51
views
Flutter: Finding the center position of a Widget
The goal is to highlight a Container's Top or Bottom border depending on when a Draggable hovers over the Container. If the hovered Widget is within the top-half of the DragTarget, then highlight the ...