Giter VIP home page Giter VIP logo

Comments (11)

eagleEggs avatar eagleEggs commented on May 15, 2024

I'm creating some palettes. However I noticed that the progress bar actually never changes from the default across the examples and my own script when calling ChangeLookAndFeel().

Additionally, are you looking for 'business standard' colors and naming conventions or some creativity? How many palettes could you conceivably want within PySimpleGUI.py? And also would you consider a method of offloading it into a separate dictionary file import so users can customize without needing to have it in the core library?

Lots of questions I know.

from pysimplegui.

eagleEggs avatar eagleEggs commented on May 15, 2024

One more for you. There are plenty of elements that I don't see access to change the color of. Is that a limitation or a possibility in the future?

from pysimplegui.

eagleEggs avatar eagleEggs commented on May 15, 2024

Disregard the progress bar color issue, I see that it requires two arguments.

from pysimplegui.

MikeTheWatchGuy avatar MikeTheWatchGuy commented on May 15, 2024

In a single palette I'm looking for:

  • Matching text, button, etc colors
  • A selection of additional colors that match that the user can use for other buttons

This what was attempting to do early on with the "Good colors" crap you see parts of in the code.

I finally settled on a Look and Feel dictionary so that I could easily try out combinations.

This is something that has frustrated me for years. I just want some nice looking GUI colors! Everything I come up with sucks.

I don't want another file... should all be contained within PSG. However, if a user wants to define their own "palette" they can do so and pass it in. This isn't possible at the moment as they are all canned dictionary entries.

In reality I've chosen maybe 2 or 3 of these that I use. I like the "dark" with a right layout for things like the floating toolbar, CPU widget, etc. I stole those colors from a Reddit poster.

I've got SO many downloaded palette examples in PDF format that I've sampled from. I SUCK at this.. did I mention that?

Anything would be better than what I've got now most likely.

Thank you for looking at this!!!

from pysimplegui.

MikeTheWatchGuy avatar MikeTheWatchGuy commented on May 15, 2024

I just created another Color Demo....

The new one has tool tips. If you hover over a color, you'll see the RGB value for that color. Maybe it'll help you?

from pysimplegui.

eagleEggs avatar eagleEggs commented on May 15, 2024

Oooh I like the many colors option that is pretty cool. I usually use Blender for most things. This would make a really nice 'docking' app for artists to grab hex values if it could interact with all OS windows :D

from pysimplegui.

eagleEggs avatar eagleEggs commented on May 15, 2024

Also check this out: https://coolors.co/ if you're interested in messing with quick palette generation.

from pysimplegui.

MikeTheWatchGuy avatar MikeTheWatchGuy commented on May 15, 2024

I've been to that site MANY times... I've downloaded many many palettes... my problems isn't finding palettes and tools for palettes.

from pysimplegui.

pedrolemoz avatar pedrolemoz commented on May 15, 2024

Can I contribute with theming? I created new themes for my application, Magnet Link Catcher (and thanks for starring 😃), both light and dark themes.

Light theme:

Menu light

sg.LOOK_AND_FEEL_TABLE["MagnetLinkCatcherLight"] = {
    'BACKGROUND': "white",
    'TEXT': "#323232",
    'INPUT': "#dfe2e8",
    'TEXT_INPUT': '#000000',
    'SCROLL': '#c7e78b',
    'BUTTON': ("white", "#ff0000"),
    'PROGRESS': ("white", "black"),
    'BORDER': 0, 'SLIDER_DEPTH': 0, 'PROGRESS_DEPTH': 0,
}

Dark theme:

Menu light

sg.LOOK_AND_FEEL_TABLE["MagnetLinkCatcherDark"] = {
    'BACKGROUND': "#292929",
    'TEXT': "#cccccc",
    'INPUT': "#dfe2e8",
    'TEXT_INPUT': '#000000',
    'SCROLL': '#c7e78b',
    'BUTTON': ("white", "#ff0000"),
    'PROGRESS': ("white", "black"),
    'BORDER': 0, 'SLIDER_DEPTH': 0, 'PROGRESS_DEPTH': 0,
}

Can we have an option to set margin and padding to our layouts? In my project, I used spaces to do this, but would be great to have a property like that. Also, would be amazing to have a way to update the screen without closing it. Something like sg.Update(). With this, I think that PySimpleGUI will definitely replace Tkinter (boring, weird, ugly).

from pysimplegui.

pedrolemoz avatar pedrolemoz commented on May 15, 2024

I hope I'm not talking about something that has already been implemented, as I am not following the project commits.

from pysimplegui.

PySimpleGUI avatar PySimpleGUI commented on May 15, 2024

It'll be added :-)
The naming convention is different than previously. They're standardized more now. Will let you know when it's done.

from pysimplegui.

Related Issues (20)

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.