57,441 questions
0
votes
0
answers
84
views
SwiftUI bottom sheet shows unexpected padding only on iPhone 17 Pro Max (iOS 18) — works fine on all other devices
I am using a .sheet in SwiftUI to show a bottom sheet with custom options.
The sheet is supposed to have zero padding on all sides (left, right, top, bottom) on every device.
It works correctly on:
...
0
votes
0
answers
46
views
Should the Result area in BaseX GUI 11.6 render the output from an XQuery Update?
I'm running XQuery Update from script in BaseX GUI 11.6. I've created a database and set WRITEBACK to TRUE, and the file updates as expected--i.e., when I open the input file from my file system, the ...
0
votes
1
answer
89
views
Rust Iced Markdown View isn't Showing in the window
I've tried the rust iced framework and tried to create a markdown view from the documentation and the code compiles and renderes the windows but the code
pub fn new() -> Self {
Self {
...
3
votes
2
answers
110
views
Korean Text word breaking problem in WinUI project
Korean text gets cut off in the middle of a word. The whole word should go to the next line.
<TextBlock
x:Name="IconButtonName"
Width="66"
Margin="2,2"
...
Best practices
0
votes
1
replies
90
views
Seeking for the best practice to add 'eye' option to secureField text box in swift
I'd like to add to my an option to expose the password value in my secure field textbox. Currently I'm doing it by rendering TextField if showPassword is on, and SecureField if it's off. However, the ...
Best practices
0
votes
3
replies
63
views
Is it acceptable to remove the H1 title from some pages?
I have received a request from some people in my organization to remove the titles on certain pages of a web application to save space (they hate scrolling down). I know this is not a good practice ...
1
vote
1
answer
123
views
Java Swing Invisible Image
Context:
I'm trying to make an app with java swing, however when trying to add a background to the Login Page, the image does not show up. It is there and moves other JComponents when adding a layout ...
0
votes
0
answers
105
views
Can't show Cv2 frame in pyqt6 QLabel pixmap
I am trying to show a video feed from a camera captured using cv2 in a PyQt6 window. I have done some experimenting and followed a few guides to create the code included below. It creates the window ...
Best practices
0
votes
0
replies
48
views
How to handle long text in a table-styled FlatList
I have this FlatList in React Native:
<FlatList
style={{ width: "100%"}}
data={cases}
ListHeaderComponent={
<View style={styles.listHeader}>
<Text ...
2
votes
1
answer
134
views
How do I make a matplotlib bar graph scale with the amount of items?
I am working on a small project and it is my first time using matplotlib, and I am struggling with how to make my bar graph look better with more inputs. The whole idea of the program is to read text ...
Advice
0
votes
2
replies
70
views
UI Element Detection
I am implementing a UI library, and I want to implement pixel-perfect hit detection.
For example, if a UI element is a red ellipse, when I click on a red pixel, I want a click event to be emitted; ...
0
votes
0
answers
53
views
How to create/update .rdl file in Visual Studio 2022
I want to update multiple reports for my project. Currently I am able to update the report using visual Studio 19, but I need to use Visual Studio 2022 to create and update the reports.
Also for ...
Best practices
0
votes
1
replies
67
views
Creating a PDF file of a webpage
I have one audit module which I need to implement in which I have to create one PDF document of a single webpage. The PDF document should consist of five pages which divides my webpage (there are ...
Best practices
1
vote
5
replies
94
views
Handling mutable models in MVVM
In an MVVM architecture, models should be kept free of UI-related logic. They represent pure data that is retrieved from memory via a service. I see a challenge when the user interface needs to ...
-1
votes
0
answers
33
views
React Native Paper - flex view bleeding views downwards
I want to display a fullscreen picker, which contains a header and a list. Currently my view hierarchy, starting at the Portal, looks like following:
<Portal>
<Modal
visible={...
0
votes
0
answers
30
views
WebdriverIO element selector not finding validation error text with xPath - returns false for isExisting() & isDisplayed()
I am testing a web UI using WebdriverIO, specifically an email send form. This test must ensure that the error helper text (like "email required") are displayed when submitting the form ...
2
votes
1
answer
68
views
Opening a pop-up window when error from a worker running in Qthread occurs completely freezes the program
I was trying to create a little Python program with a GUI using Pyside6. I ran into a problem when creating a thread for a worker to do a task (check files with a certain condition and then copy them ...
7
votes
1
answer
368
views
Decrease spacing/padding between items in Solution Explorer in Visual Studio 2026
Before Visual Studio 2026 Insiders [11206.111], there wasn't much spacing between items in Solution Explorer - between each item, there was little space, which made it easier to navigate.
After the ...
0
votes
1
answer
140
views
How to display rounded corners to the DataGrid in WPF?
I have the code to display rounded corners to the DataGrid. My problem is that it is not displaying rounded corners at the bottom of the DataGrid. How to make it rounded?
This is the code I am trying....
Advice
0
votes
6
replies
205
views
How to make a GUI library in C++
I have wanted to make a GUI library so that I can use it in my own video game that I am making and maybe in the future have it be used for other things like software. I wanted to ask where to start ...
2
votes
2
answers
89
views
How to catch Tkinter text widget state/data before it is destroyed?
I'm trying to catch/save the text widget state (for use later) before it is destroyed by binding it to the <Destroy> event, for example:
import tkinter as tk
root = tk.Tk()
text = tk.Text()
text....
1
vote
1
answer
151
views
Gamepad input reading becomes sluggish when window is minimized
I’m currently working on a mouse injector for emulators project I’ve forked on github.
The issue:
When after some seconds the application is minimized I get sluggish gamepad inputs and input delay.
...
0
votes
0
answers
57
views
Prevent tooltip trigger from receiving focus when tabbing through input field (Svelte + bits-ui)
I’m designing an input component with a small indicator icon that shows a tooltip (with feedback for the user).
The tooltip can be opened by pressing ?, F1, or hovering over the icon, and closed with ...
1
vote
0
answers
38
views
Simplest way to center and fit an image in racket/gui
I'm writing an image processing application where I need to present to the user two images, side-by-side, in such a way that they will fit and be centered on the screen, regardless of their actual ...
0
votes
0
answers
118
views
How to move the title section of a UI window off screen using QT?
I am building my app with QT5.9 on Linux. I do not want Xserver to add a fixed style system title to my dialog like below (title underlined in red below),
Because of this, I wrote my own Dialog Class,...
0
votes
0
answers
132
views
MacOS - AppKit + SwiftUI - Liquid Glass Without Any Blur
I've been trying to set up liquid glass effect like on screenshot below and can't figure out how to do it. Tried official documentation methods even with .glassEffect(.clear) but got nothing.
-> ...
0
votes
1
answer
85
views
RmlUi: TGA image appears torn or split into parts when rendered
I'm using RmlUi 6.1 with the OpenGL backend, and any TGA image I load — either in an <img> tag or as a decorator — renders incorrectly.
Instead of displaying normally, the image looks torn, ...
2
votes
1
answer
69
views
header overscroll effect? glowing up when my appbar touches it?
Please do you know how I fix it?
when the appbar is scrolled up it glows up (it does not glow up when just scrolling, just when scrolling so far up that it touches the panel).
I am very new to this, ...
1
vote
1
answer
48
views
TQDM progress bar stopping progress until a key is pressed [closed]
I have this program in which a progress bar is displayed to show the process of computation of the pe ratio and other metrics for a set of stocks, however sometimes the progress bar stops at a given ...
0
votes
1
answer
128
views
How to add a border to tkinter frame?
so I'm a bit of a beginner in python and wanted to make a GUI for a script I'm using to make it easier. For the data input I created a frame in which I placed the filedialog button etc., and ...
0
votes
0
answers
97
views
How do I completely remove the border from a Tkinter Button with an image on macOS?
I’m building a flashcard app with Tkinter in Python on macOS (macOS 26 + Python 3.13). I’m trying to make an x_button that shows only an image without any border, background, or focus ring.
Here’s a ...
1
vote
0
answers
129
views
I want to recreate these curves using Flutter
I’m new to Flutter and trying to replicate a design that has curved shapes with categories displayed along the curve .
I’ve tried using ClipPath, but I haven’t been able to get the bottom arc to match ...
2
votes
1
answer
98
views
What does Expanded widget change do to change the constraints?
I have the following code
Column(
crossAxisAlignment: CrossAxisAlignment.stretch,
children: [
TableHeadView(tablename: name, key: ValueKey(name + 'head')),
Expanded(
child: ...
0
votes
1
answer
55
views
How do I pass through the click on a GtkEditableLabel to the GtkColumnView row containing it?
I have a Gtk.ColumnView where cells are represented by Gtk.EditableLabels. Keyboard navigation works fine, clicking in the cells to edit them works fine, tab navigation
works fine.
However, clicking ...
-1
votes
0
answers
56
views
<input type="range"> can't be dragged in Chrome [duplicate]
Sometimes in Chrome dragging the <input type="range"> slider doesn't work, the slider freezes.
I figured out that this happens when that DOM element is selected by the user, which ...
1
vote
0
answers
49
views
Is it possible to assign AutomationID to elements of an already assembled application?
I have a compiled application that does not contain any AutomationIDs for its elements, and I do not have access to the source code for this application.
Is it possible to assign AutomationIDs to ...
0
votes
0
answers
56
views
How to use pdf.worker.js locally in angular application
I am trying to render the pdf report in the Ui using angular 14. This working fine in some environments. But in some environments it is blocked by the firewall.
Currently it is loading the internet. ...
0
votes
1
answer
298
views
Toaster from shadn/Sonner it is not shown
I'm working in a Vue monorepo with a custom UI package. I want to use the Sonner toast component (vue-sonner v2) following the official shadcn-vue guide. I've set everything up without any import ...
-2
votes
1
answer
440
views
'translate' is deprecated and shouldn't be used. Use translateByVector3, translateByVector4, or translateByDouble instead
I have integrated zoom image logic on double tap here is full code
void _handleDoubleTap(Offset tapPosition) {
if (_isZoomed) {
_transformationController.value = Matrix4.identity();
...
1
vote
2
answers
67
views
Can't change the color of text in ComboBox Popup dropdown menu (Qt QML)
I'm new to QML and I want to change the color of text in dropdown menu based on the the mouse cursor position (make text white when mouse is not pointing at it, so it is more visible), but seems like ...
0
votes
1
answer
71
views
How to remove the overlay STT box from the SpeechRecognizer API in Android Studio?
While making a STT app in Android Studio (Jetpack Compose). I encountered this in the SpeechRecognizer when I ran the app:
STT in app
I want to delete that so the UI looks more clean. Is there a way ...
0
votes
1
answer
92
views
Slint: How do I make a component inherit the height and width of another component in which it will be implemented
Let's consider the following scenario
I have modified the default SlintPad code as an example. I added a new component 'Txt' and have placed it inside the 'Demo' component. If I were to access the the ...
2
votes
3
answers
242
views
PowerShell + WPF: Background worker and interacting with UI
I'm currently building a GUI application using PowerShell and WPF, and overall, I'm quite pleased with how easy it is to spin up a user interface for small tools without having to dive into full-blown ...
1
vote
0
answers
41
views
Karate image comparison ignore antialiasing causing index out of bounds exception
When attempting to compare two images in karate via the compareImage keyword (or karate.compareImage() function) with the ignoreAntialiasing option set to true like so:
Background: Setup
* def ...
-1
votes
1
answer
75
views
Flutter UI error when retracting keyboard
I'm facing an issue with Flutter UI. I am using resizeToAvoidBottomInset to resize my UI when the keyboard show, the only problem is that when the keyboard retract the UI lagged.
this is the image ...
0
votes
0
answers
42
views
How can I visualize the segmentation masks predicted by my U-Net model in a Tkinter-based GUI?
I'm using CustomTkinter to build a GUI for medical image segmentation. I have a button to load the images, and I’ve previously saved my trained model as "unet_model.h5". I want to display ...
1
vote
1
answer
364
views
How to make a modal Window in MAUI
I'm learning .NET MAUI for a course and stumbled upon this problem while trying to have the "Registration Form" pop up from the main window. And I've found no clean way to make the form pops ...
0
votes
1
answer
49
views
How can I access the value of two input fields using a button click in Slint
So I am trying to create an expense tracking application. I'm building the UI in Slint. For backend I will be using Rust.
The most basic function is to accept the item name and item cost from the ...
1
vote
1
answer
79
views
Cannot make tkinter horizontal scrollbar lie flush against listbox
In a tkinter window, I have several widgets including a listbox and a horizontal scrollbar (image below).
Try as I might, I cannot make the scrollbar lie flush against the listbox. Based on Google's ...
1
vote
2
answers
87
views
DOTween animation behaves incorrectly when started in Start() (Unity)
I have a Unity project with two classes:
a UI MonoBehaviour class that triggers animations,
and a non-MonoBehaviour class where I wrote helper methods for DOTween animations.
When I call the animation ...