Explorar el Código

Fix profile page sections collapsing to the right.

Update profile layout constraints and width recalculation so personal information, education, and related form blocks stay full-width and left-aligned across window sizes.

Co-authored-by: Cursor <cursoragent@cursor.com>
AhtashamShahzad1 hace 3 semanas
padre
commit
d2d4f852a6

+ 2 - 2
App for Indeed/Views/DashboardView.swift

@@ -1344,8 +1344,8 @@ final class DashboardView: NSView, NSTextFieldDelegate {
1344 1344
         myProfilePageView.translatesAutoresizingMaskIntoConstraints = false
1345 1345
         profilePageContainer.addSubview(myProfilePageView)
1346 1346
         NSLayoutConstraint.activate([
1347
-            myProfilePageView.leadingAnchor.constraint(equalTo: profilePageContainer.leadingAnchor),
1348
-            myProfilePageView.trailingAnchor.constraint(equalTo: profilePageContainer.trailingAnchor),
1347
+            myProfilePageView.leftAnchor.constraint(equalTo: profilePageContainer.leftAnchor),
1348
+            myProfilePageView.rightAnchor.constraint(equalTo: profilePageContainer.rightAnchor),
1349 1349
             myProfilePageView.topAnchor.constraint(equalTo: profilePageContainer.topAnchor),
1350 1350
             myProfilePageView.bottomAnchor.constraint(equalTo: profilePageContainer.bottomAnchor)
1351 1351
         ])

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 904 - 25
App for Indeed/Views/MyProfilePageView.swift