Skip to content

Solve size problems #9

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

GauthierPLM
Copy link
Contributor

@GauthierPLM GauthierPLM commented May 29, 2016

Fix #5

@GauthierPLM GauthierPLM changed the title #5: Solve size problems. Solve size problems May 29, 2016
@kennedyoliveira
Copy link
Owner

Hi @Kendos-Kenlen, i'm trying your pull but it didn't solve for me, i cleaned the configurations for intellij sandbox and runned from IDE, and it still with the same problem, i don't know if i need to change another thing to test, but i'm on OS X and deleted ~/Library/Caches/IdeaIC2016.1/plugins-sandbox

@GauthierPLM
Copy link
Contributor Author

GauthierPLM commented May 31, 2016

Hi,

Thank you for the feedback. I thought I corrected everything (I did for myself) but I found another hard coded value for the grid size, I'll correct that tomorrow.

Also, could you confirm me that fields for username/password/paste bin key and the button fit well in the window?

The problem is that some value are hard coded in the form file instead of having the"-1" value for width and height (which makes the form adapting itself to the window size).
Another potential issues is the length of the donation message. On my screen it just fit the window size but I don't know about other resolution. Could you confirm the text is not too long and doesn't continue on the left ?

Sincerely,

@kennedyoliveira
Copy link
Owner

Hello @Kendos-Kenlen,

sorry for the delay to answer, really busy day at work, i tried what you suggested and set all the hardcoded size configuration to -1, cleaned the cache and ran it again but without luck, the buttons, text fields and texts aren't fitting in the window, unless i stretch it.

Here is what i get, i tried with 2 different monitors at resolution 1920x1080 and 1376x768, same problem:

Screenshot with 1376x768 resolution cropped:
screenshot_6_1_16__9_50_pm

I really don't know how that thing works, it was really hard to make it work almost correctly, i'm thinking in creating a new form from the group up paying attention to the correct size, well, if you can fix it i would appreciate since i'm without time to work at it.

Anyway, thank you for you efforts!

@GauthierPLM
Copy link
Contributor Author

Hi,

I think I removed all hard-coded values. Could you tell me if it works ?
I manually changed the .form file, some values wasn't available in the UI Designer.

I hope it'll definitely fix this problem ><

@kennedyoliveira
Copy link
Owner

hey @Kendos-Kenlen!

When i mentioned early that i tried your suggestion i did what you did with this pull, changing manually the .form file, anyway i tried your pull request cleaning everything, generating a new deploy for the plugin and installing in a fresh install of pycharm, result, same problem, now with a resolution 1920x1080:

default_preferences_and_welcome_to_pycharm_and_solve_size_problems_by_kendos-kenlen_ pull_request__9 _kennedyoliveira_ultimate-pastebin-intellij-plugin

@GauthierPLM
Copy link
Contributor Author

Mmmh... Strange. As I don't have the problem, it's hard to correct.

But, could you check what happens if you change the interface font or remove the text which is too long to be print ? (Paste to fetch and donate text)

I'm not sure but I suspect that field align on the length of these labels.

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

Successfully merging this pull request may close these issues.

2 participants