Limit on width of the Attribute Column in the filter dialog

Đang mở
#796 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Ít trao đổi
Công nghệ
python
Lĩnh vực
desktop

Hướng nghiên cứu

The payload names no files, classes or tests, so first find the filter dialog and its attribute grid in the Python source. Reproduce by widening the dialog and watching the attribute column grow. The issue lists four options and does not choose one, so ask the maintainers which approach they want before coding. Done means the column width stops growing or can be set, and the dialog still lays out correctly on other tabs.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

area: UI improvement
Current State

When the filter dialog is mad wider then the attribute column grows with limit with no way to make the column narrower. This makes it hard to visually line up which Yes/No check box aligns with which attribute. I find myself always narrowing the dialog while I am on the attribute tab and then widening it again for other tabs. This is inefficient.

Proposed Improvement

I am not sure of the best way to help with this but i can think of sever ways:

  1. Limit the width of the attribute column to only be as wide as the widest text in the list and stop widening after that
  2. Add some kind of alternating banding of the grid to make it easier to follow across from name to check boxes.
  3. Allow for manual resize of the attribute column. Not perfect, but would be workable if dialog size and grid column width were 'remembered' between uses.
  4. Don't resize the attributes grid width at all when resizing the dialog. Not sure this would work well for those with different resolution screens.
Expected Benefits

User able to more quickly choose attributes to filter without error lining up the attribute with the check boxes. Also saving time on continually resizing the dialog to suit different tabs.

Ngôn ngữ chính
Python
Star
37
Fork
17
Merge trung bình
21 giờ 5 phút
Pull request đã merge (30 ngày)
131

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của OpenSAK-Org/OpenSAK

Tất cả issue của OpenSAK-Org/OpenSAK

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.