Code Monkey home page Code Monkey logo

Comments (6)

thelocomotion avatar thelocomotion commented on June 2, 2024 2

Hmm.. I tried it and it doesn't seem to have any effect on the X axis of the Multiline element

from gloriousprotonmanager.

PySimpleGUI avatar PySimpleGUI commented on June 2, 2024 2

If inside of a "container" element, that container also needs the expand_x.

from gloriousprotonmanager.

thelocomotion avatar thelocomotion commented on June 2, 2024 2

Definitely looking much better! Thanks for the recommendation :)

Adding expand_x or y to other elements also helped with having some consistency across distributions. I added both expands to the frames and now both Fedora and Ubuntu at least look nearly identical

from gloriousprotonmanager.

PySimpleGUI avatar PySimpleGUI commented on June 2, 2024 2

It's really helpful to me to understand my users... can I ask a couple of questions? Totally optional.... not going to be offended if you pass...

There is no implication behind them. For example:

Have you written a GUI program ever before in any language?
(doesn't mean I think you've made a crappy program, or are showing you have or haven't.... I haven't a clue which is why I'm asking)

How long did it take you from deciding to make this program until you had a version of it up and working "reasonably well"?

Was there any particular PySimpleGUI resource that you found the most helpful during development?

It helps to hear from users what their experience in making something was like. It gives me an opportunity to improve. That said, there are currently over 650 open Issues in the PySimpleGUI GitHub, so I know there are a TON of ways it can be better, but I find it valuable to hear from users from time to time in a bigger picture way.

from gloriousprotonmanager.

thelocomotion avatar thelocomotion commented on June 2, 2024 2

@PySimpleGUI
No worries! Ask away!

It's impressive that you are so active in the community, even for super small projects like mine :)

To answer your questions:

  • This is literally the first Python project I ever worked on haha. I work in the IT field as a DevOps/Automation Engineer but I haven't been exposed much to programming (I don't consider tools like Ansible and such programming per se, even tho some people do?). I READ code in the past for specific projects at work, just never implemented something myself. This felt like a really good opportunity to prove myself that I can code to a certain extent. Now I'm super hooked!
  • I put between 5/7 hours a day into this for about 5 days or so. Getting a functional app took me maybe 3 days, creating the UI took me 2. This week was spent fixing bugs and cleaning up things to make this a more presentable option for people looking to jump into gaming on Linux and use Proton-GE
  • To be honest, even though I went back to the documentation all the time, I found it a bit confusing? At least for someone like me. I found the first code block to create a basic window really useful but from there I think I took the 'trial and error' approach + Stackoverflow and just Googling everything. That's a me thing though. I tried getting into programming SO many times and would get bored to death reading and watching content. This time around I wanted to get shit done instead.

All in all, after researching what the best and simplest tool was to create a UI for some Python app, yours came on top on most sites, especially reddit. I cannot tell yet how much easier this was compared to implementing the UI in something like GTK/Qt since I never tried that but if someone without that much exposure in coding was able to get something like this up and running, that means you're doing some great work 💯

from gloriousprotonmanager.

PySimpleGUI avatar PySimpleGUI commented on June 2, 2024

image

Yeah! There you go! Nice job applying it to other parts of the project. It's sort of required to some extent if the window is going to be able to resized either by your code or by the user.

image it!

The Demo Browser is a good example of elements like the Listbox and Multiple expanding as the window is resized. It's a bit unusual, however, as I used a Pane element too (perhaps overkill upon reflection).

explorer_t6rxpzjMms

from gloriousprotonmanager.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.