Title: Nice boxes! · Issue #1 · jeejz/pythonProjects · GitHub
Open Graph Title: Nice boxes! · Issue #1 · jeejz/pythonProjects
X Title: Nice boxes! · Issue #1 · jeejz/pythonProjects
Description: You're the first person I know of that's used the Vertical Separator Element. And you used it in a great way. I suppose you could have done it with a Text Element that has | as the value. I just tried that and your solution is superior. ...
Open Graph Description: You're the first person I know of that's used the Vertical Separator Element. And you used it in a great way. I suppose you could have done it with a Text Element that has | as the value. I just tr...
X Description: You're the first person I know of that's used the Vertical Separator Element. And you used it in a great way. I suppose you could have done it with a Text Element that has | as the value. I...
Opengraph URL: https://github.com/jeejz/pythonProjects/issues/1
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Nice boxes!","articleBody":"You're the first person I know of that's used the Vertical Separator Element. And you used it in a great way. I suppose you could have done it with a Text Element that has | as the value. I just tried that and your solution is superior.\r\n\r\n I couldn't figure out what you were doing by looking at the code. For 20 lines of code, it sure does a lot.\r\n\r\nI hope PySimpleGUI has been of great help to your project.\r\n\r\nFor the fun of it, I ran your code using PySimpleGUIQt.\r\n\r\nI needed to change:\r\n* The import\r\n* The size of the input element to 3,1\r\n* psg.Txt('|') instead of the vertical serparator\r\n\r\nHere's that code:\r\n```python\r\nimport PySimpleGUIQt as psg\r\n\r\ndef DrawBox():\r\n column = [[]]\r\n input1 = []\r\n for i in range(1,10):\r\n for j in range(1,10):\r\n key = str(i)+str(j)\r\n input1.append(psg.InputText(default_text=key,do_not_clear=True, size=(3, 1), key=(key)))\r\n if j%3 == 0 :\r\n input1.append(psg.Txt('|'))\r\n column.append(input1)\r\n input1 = []\r\n if i%3 == 0:\r\n column.append([psg.Text('_' * 50,justification='CENTER')])\r\n\r\n layout = [ [psg.Column(column, size=(800,800))],\r\n [psg.OK(), psg.Cancel() ]]\r\n\r\n window = psg.Window('Submit Question',auto_size_text=True ).Layout(layout)\r\n\r\n while True:\r\n event, value = window.Read()\r\n print(event, value)\r\n if event is None or event == 'Exit' or event == 'Cancel':\r\n break\r\n\r\nDrawBox()\r\n```\r\n\r\n\r\nAnd here's what it looks like using my latest release (it may not be available yet on PyPI)\r\n\r\n\r\n\r\nCan wait to see more of your stuff in the future. Nice work.\r\n","author":{"url":"https://github.com/MikeTheWatchGuy","@type":"Person","name":"MikeTheWatchGuy"},"datePublished":"2018-11-15T16:41:51Z","url":"https://github.com/jeejz/pythonProjects/issues/1"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ffce9c61-f91d-314b-7c96-37e0d41107e5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A70C:2E124E:23598A2:2D1B635:6B018A04 |
| html-safe-nonce | fe06485e7a6735fdaf58230e4c39a7eeb5549ca83d6cff702365962360da63b8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNzBDOjJFMTI0RToyMzU5OEEyOjJEMUI2MzU6NkIwMThBMDQiLCJ2aXNpdG9yX2lkIjoiNjc2NDkxNDEzNTQ0MTQ0MzMzMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8795a52fe16e46aae5c7a97009752da562c5e32fc9e0f4985b96d882466b8af7 |
| hovercard-subject-tag | issue:381245795 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/jeejz/pythonProjects/1/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c0a059df3e4a768f5762ae4dd4c881af93e04233e9db7f082545f2ee21b153e9/jeejz/pythonProjects/issues/1 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c0a059df3e4a768f5762ae4dd4c881af93e04233e9db7f082545f2ee21b153e9/jeejz/pythonProjects/issues/1 |
| og:image:alt | You're the first person I know of that's used the Vertical Separator Element. And you used it in a great way. I suppose you could have done it with a Text Element that has | as the value. I just tr... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | MikeTheWatchGuy |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/jeejz/pythonProjects git https://github.com/jeejz/pythonProjects.git |
| octolytics-dimension-user_id | 34750480 |
| octolytics-dimension-user_login | jeejz |
| octolytics-dimension-repository_id | 157049971 |
| octolytics-dimension-repository_nwo | jeejz/pythonProjects |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 157049971 |
| octolytics-dimension-repository_network_root_nwo | jeejz/pythonProjects |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width