Skip to content

Conversation

@Kyle-Ye
Copy link
Collaborator

@Kyle-Ye Kyle-Ye commented Jul 5, 2025

import OpenSwiftUI

struct ContentView: View {
    var body: some View {
        VStack {
            Color.red.frame(width: 40, height: 40)
            Color.blue.frame(width: 40, height: 40)
            HStack {
                Color.green.frame(width: 40, height: 40)
                Color.yellow.frame(width: 40, height: 40)
            }
        }
        .frame(width: 150, height: 150)
        .background { Color.black }
    }
}

image

Kyle-Ye added 5 commits July 5, 2025 12:58
Implement commitPlacements and sizeChildrenGenerallyWithConcreteMajorProposal by Copilot to support basic HVStack layout
@codecov
Copy link

codecov bot commented Jul 5, 2025

Codecov Report

Attention: Patch coverage is 0% with 305 lines in your changes missing coverage. Please review.

Project coverage is 19.80%. Comparing base (0c2be6b) to head (39e2a45).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...ces/OpenSwiftUICore/Layout/Stack/StackLayout.swift 0.00% 274 Missing ⚠️
Sources/OpenSwiftUICore/Layout/Stack/HVStack.swift 0.00% 29 Missing ⚠️
Sources/OpenSwiftUICore/Log/Logging.swift 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #367      +/-   ##
==========================================
- Coverage   20.09%   19.80%   -0.30%     
==========================================
  Files         407      407              
  Lines       21254    21547     +293     
==========================================
- Hits         4271     4267       -4     
- Misses      16983    17280     +297     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Kyle-Ye Kyle-Ye merged commit 6ba28f2 into main Jul 5, 2025
8 checks passed
@Kyle-Ye Kyle-Ye deleted the feature/hvstack branch July 5, 2025 11:56
@Kyle-Ye Kyle-Ye linked an issue Jul 6, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add HVStack support

2 participants