Menu

#1071 Improve resizing behavior of Project Files dialog

3.1
closed-fixed
None
5
2015-03-11
2015-03-09
No

I work with projects with files in deep hierarchies (i.e. the relative path under the project/source directory is very long). The way the Project Files dialog is currently laid out, the Filename column is far too small while other columns are too large. The resizing behavior is also not ideal, requiring a lot of manual adjusting to get right.

I propose to improve the column-sizing behavior as follows:

  • Add a facility for determining each column's "optimal" size (minimum size required to fit all text (and header) without truncating).
  • When the table is wide enough that optimal sizing is an improvement (= "the threshold"), make columns after the Filename column (= "subsequent columns") optimal sized and give the rest of the width to the Filename column.
  • Below the threshold, use the default column sizing behavior.
  • If the user has manually resized a column, do not do any automatic adjustments. This is reset by restarting OmegaT.

The result is that when widening the dialog, after the threshold all subsequent columns will snap to optimal size and stay there, and as much space as possible will go to the Filename column.

Discussion

  • Aaron Madlon-Kay

    This is implemented in trunk, r7018.

     
  • Aaron Madlon-Kay

    • summary: Improve appearance and resizing behavior of Project Files dialog --> Improve resizing behavior of Project Files dialog
     
  • Didier Briel

    Didier Briel - 2015-03-11
    • status: open-fixed --> closed-fixed
     
  • Didier Briel

    Didier Briel - 2015-03-11

    Closed in the released version 3.1.9 of OmegaT.

    Didier

     

Log in to post a comment.