57,440 questions
Best practices
1
vote
5
replies
82
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 ...
0
votes
0
answers
21
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 ...
3
votes
1
answer
166
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
133
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....
2
votes
2
answers
85
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....
0
votes
0
answers
46
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 ...
0
votes
0
answers
112
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
1
answer
74
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, ...
1
vote
1
answer
39
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
0
answers
93
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 ...
2
votes
1
answer
94
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
0
answers
53
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 ...
0
votes
0
answers
53
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. ...
-2
votes
1
answer
360
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();
...
0
votes
1
answer
64
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 ...
2
votes
2
answers
214
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 ...
0
votes
1
answer
64
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 ...
1
vote
1
answer
233
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 ...
1
vote
1
answer
77
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
1
answer
101
views
Silent crash when adding emoji to button label in PySide6 / Qt Creator
I'm using Qt Creator to design the GUI for an app. I wanted to add some emoji to the button labels but the app silently crashes when I do. I followed the error to the retranslateUI() function (which ...
1
vote
1
answer
157
views
Tailwind CSS and DaisyUI UI bug in Production [closed]
The layout and design is different in production mode and some components are not visible even though they are there in dev mode and when I npm build, as well as when I inspect them on browser.
...
0
votes
0
answers
63
views
PyQt6 QTextEdit won't expand as much as it should
I am trying to create a UI that resembles OpenAI's, where code and markdown snippets follow each other and markdown and the code are parsed/syntax highlighted accordingly. I've been using PyQt6 and my ...
1
vote
1
answer
349
views
LM Studio 0.3.23 (MacOS) does not show option to start local server
Besides using CLI to start a local server in LM Studio, I used to use the respective tab in the LM Studio GUI. However, the GUI does not show any option to start the server anymore (even after ...
0
votes
0
answers
71
views
Is there a way to check overflow of the span using just css?
<span *ngIf="!filterExpand && hasAppliedFilters" class="applied-filters">
<span class="single-line-filters" #filtersContainer>
<ng-container *...
-2
votes
1
answer
68
views
What’s the difference between the “Float” and “Window” view modes for tool windows in JetBrains IDEs?
I can detach any tool window (e.g. Run, Terminal) by picking View Mode ▸ Float or View Mode ▸ Window from the gear icon.
Both put the panel outside the main frame, but I can’t figure out how they ...