Giter VIP home page Giter VIP logo

Comments (3)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 18, 2024
Thanks for this suggestion.  I like it, and will endeavour to add it to a 
future version.

I am planning on releasing 0.7 later today, since it has been a long time and 
many fixes/improvements have accumulated but are not seeing widespread use.

I think I will put your request off until the next release, though, since the 
code to do with table size is surprisingly subtle, and since I haven't worked 
on pt in a long time I'm not currently "in the zone" and worry that it might 
take me a while to get it right, and I don't want to delay 0.7.

Hopefully you won't have to wait too long.

Original comment by [email protected] on 21 Jan 2013 at 10:29

  • Changed state: Accepted
  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

from prettytable.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 18, 2024
Thank you.

Best regards

Original comment by [email protected] on 21 Jan 2013 at 11:06

from prettytable.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 18, 2024
Hi there.  This feature is now implemented in trunk.  It works the first way 
you suggested, i.e. you can set table.min_width["fieldname"] to set minimum 
widths for individual fields.

You can also set table.min_table_width=80, say, to set a minimum width for the 
whole table.  However, at the moment you can't specify a particular column to 
expand.  Instead all columns are expanded in proportion to their pre-expansion 
width to take up the extra space.

Please feel free to test these features and give me any feedback.  Sorry for 
the long wait!

Original comment by [email protected] on 7 Oct 2013 at 8:46

  • Changed state: Fixed

from prettytable.

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.