TDKCandidates // Add a spacer to the right edge of the window.
This commit is contained in:
parent
3c52b2cc40
commit
98487ce974
|
@ -64,6 +64,7 @@ public struct VwrCandidateHorizontal: View {
|
|||
.contentShape(Rectangle())
|
||||
.onTapGesture { didSelectCandidateAt(currentCandidate.index) }
|
||||
}
|
||||
Spacer()
|
||||
}.frame(
|
||||
minWidth: 0,
|
||||
maxWidth: .infinity,
|
||||
|
|
|
@ -71,6 +71,8 @@ public struct VwrCandidateVertical: View {
|
|||
).id(columnIndex)
|
||||
if loopIndex < thePool.maxLinesPerPage - 1 {
|
||||
Divider()
|
||||
} else {
|
||||
Spacer(minLength: 0)
|
||||
}
|
||||
}
|
||||
if thePool.maxLinesPerPage - thePool.rangeForCurrentPage.count > 0 {
|
||||
|
@ -88,6 +90,8 @@ public struct VwrCandidateVertical: View {
|
|||
)
|
||||
if loopIndex < thePool.maxLinesPerPage - thePool.rangeForCurrentPage.count - 1 {
|
||||
Divider()
|
||||
} else {
|
||||
Spacer(minLength: 0)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -66,6 +66,7 @@ public struct VwrCandidateHorizontalBackports: View {
|
|||
.contentShape(Rectangle())
|
||||
.onTapGesture { didSelectCandidateAt(currentCandidate.index) }
|
||||
}
|
||||
Spacer()
|
||||
}.frame(
|
||||
minWidth: 0,
|
||||
maxWidth: .infinity,
|
||||
|
|
|
@ -73,6 +73,8 @@ public struct VwrCandidateVerticalBackports: View {
|
|||
).id(columnIndex)
|
||||
if loopIndex < thePool.maxLinesPerPage - 1 {
|
||||
Divider()
|
||||
} else {
|
||||
Spacer(minLength: 0)
|
||||
}
|
||||
}
|
||||
if thePool.maxLinesPerPage - thePool.rangeForCurrentPage.count > 0 {
|
||||
|
@ -90,6 +92,8 @@ public struct VwrCandidateVerticalBackports: View {
|
|||
)
|
||||
if loopIndex < thePool.maxLinesPerPage - thePool.rangeForCurrentPage.count - 1 {
|
||||
Divider()
|
||||
} else {
|
||||
Spacer(minLength: 0)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue