Skip to content

Commit

Permalink
format EditableComboBox
Browse files Browse the repository at this point in the history
  • Loading branch information
hamen committed Oct 17, 2024
1 parent dc6cd36 commit 75e3c11
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,7 @@ public fun EditableComboBox(
onSetPopupExpanded = { popupExpanded = it },
onFocusedChange = { comboBoxState = comboBoxState.copy(focused = it) },
onHoveredChange = { textFieldHovered = it },
modifier = Modifier
.fillMaxWidth()
.weight(1f),
modifier = Modifier.fillMaxWidth().weight(1f),
)

Chevron(
Expand Down Expand Up @@ -295,8 +293,7 @@ private fun Chevron(
Row(
verticalAlignment = Alignment.CenterVertically,
modifier =
Modifier
.testTag("Jewel.ComboBox.ChevronContainer")
Modifier.testTag("Jewel.ComboBox.ChevronContainer")
.size(style.metrics.arrowAreaSize) // Fixed size
.thenIf(isEnabled) {
onHover { onHoveredChange(it) }
Expand Down

0 comments on commit 75e3c11

Please sign in to comment.