Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#41 Modified file info dialog

open
nobody
None
1
2009-07-10
2009-07-10
greengreat
No

I modified the File info tab a little: to better align the tables and entries and for a better reading of the info.
These are the changes:
* Enlarged the default size for File Properties window and set a greater minimum width (equal to the new default width).
* Set a Fixed width for the tables where the info data appear, this way they only scroll down in case. There are pros and cons: cells are equally large frome one table to another (except when the URL/filename is very long :'(
* Set the headers of tables in boldface and caps, section names in small-caps and title in all-caps
* Entries in the tables have now an invisible border, padding around them so that texts do not appear on the border-line
* Audio and subtitle streams tables have been both set to be with a centered nice align style
* In audio and subtitle streams tables: the numer of streams (# or N) has been fixed to start counting from 1 instead of 0.
Note: the exact appearance could and will vary based on the environment where it runs and the default font selected. But the layout of the tables should not be influenced. Indeed, even with big fonts the info fit in the window very well. Screenshots taken in Ubuntu with font "Deja Vu Sans",10pt attached.

Files modified:
src/filepropertiesdialog.ui
src/infofile.h
src/infofile.cpp

Discussion

  • greengreat
    greengreat
    2009-07-10

    new default size properties window

     
    Attachments
  • greengreat
    greengreat
    2009-07-10

    • priority: 5 --> 1
     
  • greengreat
    greengreat
    2009-07-10

    a dvd's info tab

     
    Attachments
  • greengreat
    greengreat
    2009-07-10

    info tab before & after applying patch

     
    Attachments
  • greengreat
    greengreat
    2009-07-10

    diff patch

     
    Attachments
  • The window seems to me too wide, don't you think?

     
  • greengreat
    greengreat
    2009-07-10

    Do you mean seen from the screenshot? (because to let them both visible I had to change the scaling so they are not in proportion ,, I attack a screen shot of my desktop at 1024x768, it seems not so big)

     
  • greengreat
    greengreat
    2009-07-10

    info window in proportion to full desktop @1024x768

     
    Attachments
  • greengreat
    greengreat
    2009-07-11

    I thought that with widescreens and newer video cards (with higher resolutions) the width of the window would not matter that much, but it still can be slightly reduced (some pixel ) without losing too much of the text space, all considered.
    By the way it could be better to have it a little larger than other windows (and still would not be the biggest of the popup windows, I am referring to preferences dialog dimensions): info like that contained in the file Properties window is valuable imho, it needs space. Otherwise one would have to scroll a lot and/or lose a layout with more eyeful.

     
  • greengreat
    greengreat
    2009-07-13

    Info dialog V2

     
    Attachments
  • greengreat
    greengreat
    2009-07-13

    V2 screenshot 1

     
    Attachments
  • greengreat
    greengreat
    2009-07-13

    V2 screenshot 2

     
    Attachments
  • greengreat
    greengreat
    2009-07-13

    V2 screenshot 3

     
  • greengreat
    greengreat
    2009-07-13

    I modified it some more.. Now the window is only a bit larger than the original in your code, but it keeps well aligned every text. The code is simpler than the other patch. See the screenshots too if you cannot test the patch.
    How do you like it?