mirror of
https://github.com/yattee/yattee.git
synced 2024-11-09 15:58:20 +00:00
add border around search field
Signed-off-by: Toni Förster <toni.foerster@gmail.com>
This commit is contained in:
parent
4663aab3da
commit
0bef798341
@ -74,6 +74,10 @@ struct SearchTextField: View {
|
|||||||
RoundedRectangle(cornerRadius: 8)
|
RoundedRectangle(cornerRadius: 8)
|
||||||
.fill(Color("SearchTextFieldBackground"))
|
.fill(Color("SearchTextFieldBackground"))
|
||||||
)
|
)
|
||||||
|
.overlay(
|
||||||
|
RoundedRectangle(cornerRadius: 8)
|
||||||
|
.stroke(Color("ControlsBorderColor"), lineWidth: 1)
|
||||||
|
)
|
||||||
.frame(maxWidth: .infinity, alignment: .leading)
|
.frame(maxWidth: .infinity, alignment: .leading)
|
||||||
}
|
}
|
||||||
.padding(.horizontal, 0)
|
.padding(.horizontal, 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user