Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retain column width in QTableView #258

Open
ajdapretnar opened this issue Oct 23, 2023 · 1 comment
Open

Retain column width in QTableView #258

ajdapretnar opened this issue Oct 23, 2023 · 1 comment

Comments

@ajdapretnar
Copy link
Contributor

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.

@ajdapretnar
Copy link
Contributor Author

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant