Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Painting Error in QtWidgets.QInputDialog.getText #235

Open
R0yAdar opened this issue Mar 4, 2023 · 1 comment
Open

Painting Error in QtWidgets.QInputDialog.getText #235

R0yAdar opened this issue Mar 4, 2023 · 1 comment

Comments

@R0yAdar
Copy link

R0yAdar commented Mar 4, 2023

The OK button is cut-off a little bit... I am on Windows 11 with PyQt6, and it works fine without the theme... Here's a picture of the problem:

image

@R0yAdar
Copy link
Author

R0yAdar commented Apr 9, 2023

I solved it by using:

holder = QtWidgets.QWidget()
name, valid = QtWidgets.QInputDialog.getText(holder, 'Choose Folder Name', 'Name: ')

Instead of using the listview behind it as a parent.

Just to point out, it already worked without the theme, so it may still be a problem with the library...?

Nevertheless this is an easy solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant