Giter VIP home page Giter VIP logo

acv2xmp's Introduction

Python coder here!

Most of the repositories you can find here are a product of my lazy needs, mainly about media manipulation.

I'm trying to include a GUI with every script I code, to simplify access and use even for beginners.

acv2xmp's People

Contributors

deusares avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

acv2xmp's Issues

You may like the Push element

Hi!

๐Ÿ’— seeing what you're making. Thank you for posting screenshots in some of your repos!

I learn a lot from users so when I can find a few minutes, I like to take a look at what users are making.

For this project, I liked that you used a Column element for actual columns. I've not done a layout the way you did on this project. It removes the need to set a size of the left-most Text elements.

A new element was added last year that has made justification much easier... the Push element.

Here is your original window

image

I recreated it by making these changes:

  • Removed the use of Columns
  • I added a size parameter to the Text elements that are on the first 2 rows
  • Removed the size on the output Text element. Setting no size on Text elements now does the more logical thing (a change last year). The element will automatically resize depending on the value being updated to.
  • Used the Push element to right justify your Convert button

My window looks very similar.

image

Here's the code for it:

import PySimpleGUI as sg

layout = [  [sg.Text(".acv file", s=10), sg.Input(key='ACV'), sg.FileBrowse(".acv")],
            [sg.Text("Preset Name", s=10), sg.Input(key='NAME')],
            [sg.Push(), sg.Button("Convert")],
            [sg.Text(key='OUT')]]

sg.Window("acv 2 xmp", layout).read(close=True)

It's not better, just different. The Push element makes centering and right justifying one or more elements pretty easy.

Thanks for the interesting program!

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.