Skip to content

Commit

Permalink
ui: Add photo lines min height.
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmin42 committed Jan 25, 2025
1 parent 0352df3 commit a82394b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ struct DeleteProjectDialog: View {
TextField("", text: $projectDeleteText)
.textFieldStyle(RoundedBorderTextFieldStyle())
}
Das
HStack {
Button("Delete")
{
Expand Down
11 changes: 2 additions & 9 deletions osx/PhotoBook/PhotoBook/Pages/TableContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -264,17 +264,10 @@ struct TableContentView: View, PhotobookUIListener {
VStack {
ScrollView(.horizontal, showsIndicators: false) {
HStack {
ForEach(0..<10, id: \.self) { item in
RoundedRectangle(cornerRadius: 8)
.fill(Color.green)
.frame(width: 80, height: 80)
.overlay(
Text("Item \(item)")
.foregroundColor(.white)
)
}

}
.padding(.horizontal)
.frame(minHeight:80)
}

UnstagedPhotoLine(model: uplModel, canvasImage: $canvasModel.mainImage)
Expand Down
1 change: 1 addition & 0 deletions osx/PhotoBook/PhotoBook/UPL/UnstagedPhotoLine.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ struct UnstagedPhotoLine: View
}
}
.padding(.horizontal)
.frame(minHeight:80)
}
}
}

0 comments on commit a82394b

Please sign in to comment.