Skip to content

Commit

Permalink
Set minimum frame sizes for header and chords View
Browse files Browse the repository at this point in the history
  • Loading branch information
Desbeers committed Aug 29, 2023
1 parent 93ee09d commit 63aefe5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"location" : "https://github.com/Desbeers/SwiftlyChordUtilities",
"state" : {
"branch" : "main",
"revision" : "a1b6713021dc151dbc81197f3d060a18c0bcaaf0"
"revision" : "044666a0581a1f982f376fe4a1cbfc00cb763352"
}
},
{
Expand Down
1 change: 1 addition & 0 deletions Chord Provider/Views/HeaderView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ struct HeaderView: View {
.padding(.trailing)
}
.padding(4)
.frame(minHeight: 40)
#elseif os(iOS)
General(song: song)
Details(song: song)
Expand Down
1 change: 1 addition & 0 deletions Chord Provider/Views/MainView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ struct MainView: View {
#if !os(visionOS)
if showChords {
ChordsView(song: song)
.frame(minWidth: 150)
}
#endif
}
Expand Down

0 comments on commit 63aefe5

Please sign in to comment.