FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

resize the GUI by MMathisLab · Pull Request #3034 · DeepLabCut/DeepLabCut · GitHub

resize the GUI - #3034

Merged
MMathisLab merged 13 commits into
mainfrom
mwm/window-fix
Sep 18, 2025
Merged

resize the GUI#3034
MMathisLab merged 13 commits into
mainfrom
mwm/window-fix

Conversation

Copy link
Copy Markdown
Member
  • the GUI became hard coded for size, and on my macbook did not look good. this fixes the issue!

MMathisLab requested a review from AlexEMG June 30, 2025 14:16
AlexEMG requested a review from maximpavliv June 30, 2025 14:35
MMathisLab requested a review from Copilot June 30, 2025 14:46

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Pull Request Overview

This PR makes the main GUI window resizable and updates the project-creation tab to allow selecting individual video files rather than only folders.

  • Suppress a specific PySide6 runtime warning
  • Set dynamic default/minimum/maximum window sizes and window flags
  • Add “Select individual files” checkbox and update browse logic; import specific project-creation functions

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
deeplabcut/gui/window.py Suppress a RuntimeWarning and enable window resizing with setDefault, minimum, and maximum sizes
deeplabcut/gui/tabs/create_project.py Import targeted create_project functions; add checkbox for individual file selection and adjust browse_videos logic
Comments suppressed due to low confidence (2)

deeplabcut/gui/tabs/create_project.py:401

  • [nitpick] Consider renaming select_files_box to something more descriptive like select_individual_files_checkbox for clarity.
        self.select_files_box = QtWidgets.QCheckBox("Select individual files")

deeplabcut/gui/tabs/create_project.py:427

  • Add unit or integration tests for the new 'Select individual files' branch in browse_videos to ensure file selection and fallback logic works as intended.
        if self.select_files_box.isChecked():

Comment thread deeplabcut/gui/window.py
Comment thread deeplabcut/gui/window.py Outdated
AlexEMG and others added 3 commits June 30, 2025 17:01
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

maximpavliv left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I really like the new "Select individual files" checkbox!

Regarding the window size changes, I didn't really see a big difference on my laptop, maybe the issue you solved is not appearing on Ubuntu?

Comment thread deeplabcut/gui/window.py
MMathisLab merged commit 646b476 into main Sep 18, 2025
4 of 5 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL