57,441 questions
Best practices
0
votes
0
replies
16
views
Creating a PDF of webpage
i have one audit module which i need to implement in which i have to create one pdf of single webpage, pdf should consist 5 pages which devides my webpage (there is seperator lines in ui of that ...
1
vote
1
answer
16k
views
GUI (to input and output matrices)?
I need to create a GUI to input data into a matrix or table and read this form data.
The perfect solution is to restrict the input form to allow only float.
For example:
A=[[1.02,-0.25,-0.30,0.515],[-...
-1
votes
0
answers
16
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={...
4
votes
1
answer
20k
views
How do I add a box-shadow to an element in QT?
I tried to do: this->setStyleSheet("-webkit-box-shadow: 0px 0px 20px rgba(0, 0, 0, 1);") and I get the error: Unknown property -webkit-box-shadow. The same goes for box-shadow and -moz-box-shadow. ...
0
votes
0
answers
23
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 ...
1
vote
4
answers
11k
views
How do I upload an image on Python using Tkinter?
I am doing GUI programming using Tkinter on Python. I am using the grid manager to make widgets. I have created several buttons and I want to upload an image on top of them. When I enter this code, it ...
-2
votes
0
answers
37
views
React Flow + Dagre layout issue when node content size varies
import dagre from 'dagre';
import { Node, Edge, Position } from 'reactflow';
export default function layoutDAG(
nodes: Node[],
edges: Edge[],
dagType: 'T' | 'I' | 'D'
): { nodes: Node[]; edges: ...
1
vote
3
answers
5k
views
How to vertically align text within TextView
I am trying to get some text vertically aligned within a TextView, but for some reason it just sticks to the top edge of such TextView.
Trust me, I've read several questions here on Stack Overflow ...
4
votes
4
answers
2k
views
Remove custom spacing in UIStackView
I have a stackview with three subviews:
stackView.spacing = 8.0
stackView.addArrangeSubview(view1)
stackView.addArrangeSubview(view2)
stackView.addArrangeSubview(view3)
At some point, I add custom ...
13
votes
4
answers
13k
views
Input effect on keyboard tab -> focus, but NOT on click
When a user 'tabs over' to an input, I want the focus effect to be normally displayed, but on click, I don't want it to be visible.
User hits tab, now focussed on toggle button, I would like the ...
18
votes
6
answers
21k
views
Customization of Login Page Cognito
I know that there is possibility to customize some values on login page provided by cognito. But it isn't enough for me. Is it possible to customize it completely? I'm using only third pard federated ...
0
votes
2
answers
1k
views
Vb.Net Message box with input validation
So i'm getting a new laptop and to help me decide I came up with a points system. I have made an application to help with calculation and it consists of a series to check boxes with different options ...
1
vote
3
answers
2k
views
What Is Best Way To Handle A Form With Over 100 Input Fields?
I have a project that will require user input of anywhere from 100-500 form input fields that will then be entered into a database table. I need some advice on what is the best method to handle so ...
0
votes
2
answers
517
views
Gradually smoothen the backdrop blur in flutter
I have a tab bar, and i wanted a backdrop filter blur on it.
Which i did using the following code:
ClipRRect(
child: BackdropFilter(
filter: ImageFilter.blur(...
3
votes
1
answer
6k
views
Linking different forms in Delphi within the same project
I am currently designing a database interface in Delphi 2010, and I have designed several form interfaces, all encapsulated in one Delphi project structure.
I began designing a particular interface ...
1
vote
1
answer
870
views
pyqt5 trying to use QGridLayout to organise my QLabel, QLineEdit, QPushButton, and "Pop-up" QLabel
I am trying to get the "Game Name:" (QLabel), input box (QLineEdit), and QPushButton on one line and the "Pop-up" QLabel) to appear on the bottom
but am having difficulties with get QGridLayout to ...
57
votes
17
answers
77k
views
DestroyWindow does not close window on Mac using Python and OpenCV
My program generates a series of windows using the following code:
def display(img, name, fun):
global clicked
cv.NamedWindow(name, 1)
cv.ShowImage(name, img)
cv.SetMouseCallback(...
1
vote
1
answer
144
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.
...
3
votes
2
answers
4k
views
Web UI for Delphi desktop [closed]
I want to develop Web UI for my desktop application to allow users do some tasks remotely. The Web UI server and desktop app will run on the same computer.
Question is: what is the best way to ...
3
votes
2
answers
3k
views
Can I increase UI scaling in eclipse on Mac?
I've spent some time already searching for an answer. I know that I can increase the text size in an open file, but is there any way to increase the overall UI scaling? I have a large monitor so I can ...
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 ...
6
votes
3
answers
16k
views
How to display a window on a secondary display in PyQT?
I am developing an application; which will run on a system with 2 displays. I want my PyQt app to be able to automatically route a particular window to the second screen.
How can this be done in Qt? ...
1
vote
1
answer
650
views
How to add a wait in the feature file for the karate framework?
And click("//button\[text()=' Next '\]")
And match driver.title == 'ONE'
And click("//\*\[@id='BusinessUnits'\]/li\[2\]/a")
I want to add waiting time between 2nd and 3rd line. ...
1
vote
0
answers
35
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 ...
24
votes
13
answers
11k
views
Jquery ui-sortable - unable to drop tr in empty tbody
I have two connected tbody elements allowing me to drag rows between two tables. Everything works fine until all rows are removed from either table.
When all rows have been dragged to the other ...