Skip to content

Commit

Permalink
reafactor: clearAllPasswordButton, hiddenToggleButton 중앙 배치
Browse files Browse the repository at this point in the history
  • Loading branch information
jjwon2149 authored and wldyd2113 committed Jun 18, 2024
1 parent af7b4ab commit 4baf738
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Mokkoji/Mokkoji/View/LoginView/LoginViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -358,13 +358,13 @@ class LoginViewController: UIViewController {
passwordLabel.heightAnchor.constraint(equalToConstant: 20),

// clearAllPasswordButton Constraints
clearAllPasswordButton.topAnchor.constraint(equalTo: passwordTextField.topAnchor, constant: 4),
clearAllPasswordButton.topAnchor.constraint(equalTo: passwordTextField.topAnchor, constant: 6.5),
clearAllPasswordButton.trailingAnchor.constraint(equalTo: passwordTextField.trailingAnchor, constant: -5),
clearAllPasswordButton.widthAnchor.constraint(equalToConstant: 25),
clearAllPasswordButton.heightAnchor.constraint(equalToConstant: 25),

// hiddenToggleButton Constraints
hiddenToggleButton.topAnchor.constraint(equalTo: passwordTextField.topAnchor, constant: 4),
hiddenToggleButton.topAnchor.constraint(equalTo: passwordTextField.topAnchor, constant: 6.5),
hiddenToggleButton.trailingAnchor.constraint(equalTo: clearAllPasswordButton.leadingAnchor, constant: -10),
hiddenToggleButton.widthAnchor.constraint(equalToConstant: 25),
hiddenToggleButton.heightAnchor.constraint(equalToConstant: 25),
Expand Down

0 comments on commit 4baf738

Please sign in to comment.