Skip to content

Commit

Permalink
#3023 add: another resize safeguard
Browse files Browse the repository at this point in the history
  • Loading branch information
pbek committed May 30, 2024
1 parent 95dde48 commit d7efb68
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/widgets/notefilepathlabel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ NoteFilePathLabel::NoteFilePathLabel(QWidget *parent) : QLabel(parent) {
setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
// Allows that the label can be resized below it desired width
setMinimumWidth(10);
setMaximumWidth(600);
}

void NoteFilePathLabel::contextMenuEvent(QContextMenuEvent *event) {
Expand Down

0 comments on commit d7efb68

Please sign in to comment.