Page 7.1 on Windows 10 with python 3.9
Reproduce:
1. File -> Preferences -> Fonts -> GUI default font -> change Segeo UI font size from 12 to 14 and save.
2. Create some widget.
3. Generate python GUI.
Now the GUI file has the line below which is wrong.
-family {Segoe UI} -size 14 -weight normal -slant roman " \
"-underline 0 -overstrike 0 = "TkDefaultFont"
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I guess I'm too stupid to understand your problem.
I'll notify Don to try to help you.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2022-01-27
I'm sorry. It may be that I didn't express it clearly enough.
Reproduce:
1. File -> Preferences -> Fonts -> GUI default font -> change Segeo UI font size from 12 to 14 -> Press √ (Apply changes and close dialog)
2. Create a TLabel (a Themed widget)
3. Gen_Python -> Generate Python GUI and save. (get unknown.py)
4. Gen_Python -> Generate Support Module and save. (get unknown_support.py)
5. open cmd window and input: python unknown.py and press Enter. The output is
File "unknown.py", line 24
-family {Segoe UI} -size 16 -weight normal -slant roman " \
^
SyntaxError: invalid syntax
Note:
If the user do the step 1 and close Page. (The font size setting changed. ) And open Page again. This time not change the font size. And then do step 2-5. The problem will not reproduce.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think that changing a font preference and then continuing is leaving PAGE in some weird internal state. I recommend that if you want to change a preference you enter PAGE, update the preferences, and quit page. That way there is a better chance that things will be better initialized. That recommendation will appear in bold in the documentation in the next release.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2022-01-31
Hello ,
i cant Select muI tiple widgets . Page 7.1
Button-2 dont work.
thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Page 7.1 on Windows 10 with python 3.9
Reproduce:
1. File -> Preferences -> Fonts -> GUI default font -> change Segeo UI font size from 12 to 14 and save.
2. Create some widget.
3. Generate python GUI.
Now the GUI file has the line below which is wrong.
I'm sorry, but I'm confused.
You set the Default GUI font to 14 Segeo. You save the preference. Now when you see the font, which states what you changed it to, you say it's wrong.
What's the problem?
Step 3 like below:
3.1 Gen_Python -> Generate Python GUI and save -> get file xxx.py
3.2 the wrong code is in xxx.py
I guess I'm too stupid to understand your problem.
I'll notify Don to try to help you.
I'm sorry. It may be that I didn't express it clearly enough.
Reproduce:
1. File -> Preferences -> Fonts -> GUI default font -> change Segeo UI font size from 12 to 14 -> Press √ (Apply changes and close dialog)
2. Create a TLabel (a Themed widget)
3. Gen_Python -> Generate Python GUI and save. (get unknown.py)
4. Gen_Python -> Generate Support Module and save. (get unknown_support.py)
5. open cmd window and input: python unknown.py and press Enter. The output is
File "unknown.py", line 24
-family {Segoe UI} -size 16 -weight normal -slant roman " \
^
SyntaxError: invalid syntax
Note:
If the user do the step 1 and close Page. (The font size setting changed. ) And open Page again. This time not change the font size. And then do step 2-5. The problem will not reproduce.
I think that changing a font preference and then continuing is leaving PAGE in some weird internal state. I recommend that if you want to change a preference you enter PAGE, update the preferences, and quit page. That way there is a better chance that things will be better initialized. That recommendation will appear in bold in the documentation in the next release.
Hello ,
i cant Select muI tiple widgets . Page 7.1
Button-2 dont work.
thanks
Are you sure you are using the correct button? Normally Button-2 is the middle mouse button.
oups il am confuse. sorry and tkank you vers much
No worries. It happens to us all at one time or another. I'm just glad it works for you.
Greg