-
-
Notifications
You must be signed in to change notification settings - Fork 400
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
Make positive input prompt drag resizable. #1236
Conversation
b0ea6b8
to
4cebcb5
Compare
4cebcb5
to
52ac0ab
Compare
It works pretty well. Would be nice to have a visual indicator, and to avoid the extra layout space. You can put the widget on top of the text box by not adding it to the layout and using This is how the translation button is positioned, same code should work (could also consider moving it to the same place): https://github.com/Acly/krita-ai-diffusion/blob/main/ai_diffusion/ui/region.py#L393 As for visual indicator, something like this? Diagonal lines in the bottom right are also typical, but the translation button is already there and moving it looks a bit weird: |
any planning to add this feature with the main branch? |
Sorry! I'll try to get to it. |
np, please let me know when you are done |
52ac0ab
to
9a6c861
Compare
20b17db
to
4dcbc96
Compare
I don't understand why the test is red tbh. |
4dcbc96
to
767363e
Compare
Looks lovely, but only when negative prompt is enabled (no button otherwise) and you're using a light theme (barely visible otherwise).
Don't worry about it, is fixed but still on a branch |
|
767363e
to
3f99b09
Compare
3f99b09
to
d5a5733
Compare
Ah yeah oops - I ran into that a bunch, but I didn't think to check for switching workspaces. Cheers! |
As per mention in Discord.
Problem: Drag bar currently occupies five invisible pixels at the bottom of the text widget. Not sure how to fix that in the layout.