Closed 7174Andy closed 7 months ago
The update introduces a new parameter, ellipsis_left=True
, to the instantiation of GenericTableView
in the create_tables
method. This adjustment has been applied to both the camera
and unlinked_video
tables, enhancing their display functionality.
File Path | Change Summary |
---|---|
.../widgets/docks.py |
Added ellipsis_left=True to GenericTableView for camera and unlinked_video tables |
🐇✨
In the land of code, where the tables grow,
A rabbit hopped, tweaking rows to show.
With a flick of its tail,ellipsis_left=True
,
Now texts don't trail off, they nicely stay.
Hop, skip, a code leap, celebrate the change,
In the digital meadow, under the moon's range. 🌙
sleap/gui/widgets/docks.py (3)
15-15: Redefinition of unused `QLabel` from line 12 --- 16-16: Redefinition of unused `QComboBox` from line 8 --- 18-18: Redefinition of unused `QGroupBox` from line 10
sleap/gui/widgets/docks.py (2)
`671-671`: Set `ellipsis_left=True` for the `camera_table` to ensure filenames are visible. --- `677-677`: Set `ellipsis_left=True` for the `unlinked_videos_table` to ensure filenames are visible.
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 73.46%. Comparing base (
72788a2
) to head (2a2818f
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description
Set the
ellipsis_left
keyword argument toTrue
when creating UnlinkedVideosTable and CamerasTable indocks.py
. This way, the filename column in the UnlinkedVideosTable and the video column in CamerasTable will be ellipsis left. This will display the name of the video file instead of the start of the path in both tables.Now the tables look like this:
Types of changes
Outside contributors checklist
Thank you for contributing to SLEAP!
:heart:
Summary by CodeRabbit