Formatting Positional Parameters

More
9 years 2 months ago #97072 by 10K
Is there some way to format the positional parameters (inputs) shown on the NGCGUI screen within GMOCCAPY? Although I have lots of blank space below the parameters, multiple columns of inputs are shown, and the rightmost one is mostly off the screen on some of the routines. Shortening the comment lines shown next to the parameter input boxes can help, but I have to abbreviate and truncate the comments.

Please Log in to join the conversation.

More
9 years 2 months ago #97073 by newbynobi
I have never used NGCGUI, so sorry, I am not even understanding the problem.

May be you can publish a screen shot?
How is able to help?

Norbert

Please Log in to join the conversation.

More
9 years 2 months ago #97079 by 10K
Here's a screenshot. Item #13 is off the screen on the right.

Attachment not found

Please Log in to join the conversation.

More
9 years 2 months ago #97116 by newbynobi
That looks like a nice feature.
Is should be possible to make the text with line brake, so it will cover less space and the widgets should stay nearer together.
Or just place them in a different order, instead of using three columns use only two of them.

Is that made with glade?

Could you post the code?

Norbert

Please Log in to join the conversation.

More
9 years 2 months ago #97187 by andypugh

Please Log in to join the conversation.

More
9 years 2 months ago #97198 by nkp
try:
pyngcgui.py
change
Code:
# try to use minimum height if less than 3 columns if nparms > 20: rowmax = 10 else: rowmax = int(nparms/2 + 0.5)
||
v
Code:
rowmax = 10

Please Log in to join the conversation.

More
9 years 2 months ago #97263 by 10K
NKP-

I removed the if/else statement and set rowmax = 10 in pyngcgui.py, and now it's showing only two columns instead of three, and everything fits on the screen.

Thanks!

Norbert-
As Andy posted, this capability is already available inside of Gmoccapy. If you were interested in the specific threading routine, I posted it a while back on this forum at O codes If you need some help getting it working, let me know, and I'll post the specific changes required to your .INI file.

Please Log in to join the conversation.

Time to create page: 0.086 seconds
Powered by Kunena Forum