Skip to content

Commit

Permalink
Use IconButtons where necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
Shade authored and Shade committed Oct 25, 2024
1 parent 74fd0e5 commit f803801
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions src/main/kotlin/ui/components/FormComponents.kt
Original file line number Diff line number Diff line change
Expand Up @@ -326,9 +326,6 @@ fun UnderLineTextFiled(
)
}
}
if (isPassword) {
Spacer(modifier = Modifier.width(12.dp))
}
}
},
contentPadding = TextFieldDefaults.contentPaddingWithLabel(0.dp),
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/ui/components/WindowComponents.kt
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ fun OutlineTextButton(
modifier = modifier.hoverable(interactionSource),
shape = RoundedCornerShape(size = cornerSize),
contentPadding = PaddingValues(4.dp),
border = BorderStroke(2.dp, color = Color.White),
border = BorderStroke(1.dp, color = Color.White),
colors = ButtonDefaults.outlinedButtonColors(
containerColor = if (isHovered) Color.White else Color.Transparent,
)
Expand Down

0 comments on commit f803801

Please sign in to comment.