Skip to content

Retain column width in QTableView #258

Description

@ajdapretnar
Orange version

3.36

Expected behavior

Remember column was resized in a data table and apply resizing on column width computation?

Actual behavior

I'd like to retain column width in data tables across Orange. For example, I open Data Table and resize one text column. Now, I change something upstream. The data table is updated and column resized to default. If I wish to interactively observe changes to my workflow, I have to keep resizing the column to the desired width.

Steps to reproduce the behavior

Corpus (deerwester) - Statistics - Data Table. Resize column in Data Table, recompute statistics.

Additional info (worksheets, data, screenshots, ...)

This might be a pain in the butt to do. Or not. I rely on experts (@ales-erjavec) to decide whether this is a doable solution.

Activity

  1. ajdapretnar commented on Dec 15, 2023

    @ajdapretnar
    ContributorAuthor

    The issue is solved for the time being.

    However, after discussing with @janezd, we concluded it would be nice to have a mixin, that could be used in widgets such as Test and Score and Predictions. Moreover, it would be nice to have a hint, that would remember the column name (if I resize Title, Title would be resized, even if the order of the columns is changed).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions