mirror of
https://github.com/kusti8/proton-native.git
synced 2026-05-15 22:02:24 -06:00
[PR #40] [MERGED] Make python hello-world example comparable to proton example #237
Labels
No labels
bug
documentation
enhancement
libui issue
pull-request
question
wait for libui implementation
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/proton-native#237
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/kusti8/proton-native/pull/40
Author: @cjrh
Created: 3/3/2018
Status: ✅ Merged
Merged: 3/3/2018
Merged by: @kusti8
Base:
master← Head:comparable-pyqt-example📝 Commits (1)
6c783b1Make python hello-world example comparable to proton example📊 Changes
1 file changed (+9 additions, -27 deletions)
View changed files
📝
docs/python_example.py(+9 -27)📄 Description
I removed the odd double-line spacing in the class between
print_hello()andinitUI(), and also refactored out the call toinitUIbecause it typically isn't used in smaller apps. I also reduced outer-scope line gaps to single-space, rather than double space because this is what the proton example uses.Is the
btn.move(50, 50)necessary? The proton example code doesn't have this, but it might use a default style that produces a similar effect? Dunno. If you want it back in I will add it.Proton Native looks really neat, good job!
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.