@ -195,6 +205,7 @@ internal fun ButtonInternal(
@@ -195,6 +205,7 @@ internal fun ButtonInternal(
color=LocalContentColor.current,
strokeWidth=2.dp,
)
Spacer(modifier=Modifier.width(8.dp))
}
leadingIcon!=null->{
androidx.compose.material.Icon(
@ -203,15 +214,14 @@ internal fun ButtonInternal(
@@ -203,15 +214,14 @@ internal fun ButtonInternal(
tint=LocalContentColor.current,
modifier=Modifier.size(20.dp),
)
Spacer(modifier=Modifier.width(8.dp))
}
else->Unit
}
Text(
text=text,
style=textStyle,
maxLines=1,
overflow=TextOverflow.Ellipsis,
modifier=Modifier.padding(internalPadding),
)
}
}
BIN
tests/uitests/src/test/snapshots/images/ui_S_t[l.designsystem.theme.components_null_Buttons_TextButtonLarge_0_null,NEXUS_5,1.0,en].png (Stored with Git LFS)
tests/uitests/src/test/snapshots/images/ui_S_t[l.designsystem.theme.components_null_Buttons_TextButtonMedium_0_null,NEXUS_5,1.0,en].png (Stored with Git LFS)