Display incomplete
Closed this issue · 2 comments
binx6 commented
I use this fork in kotlin, and here is the code snippet:
binding.appBarMain.fab.setOnClickListener { view ->
SweetAlertDialog(this, SweetAlertDialog.WARNING_TYPE)
.setTitleText("<font color='#6750a4'>Material3</font> title")
.setContentText("Big <font color='#92f8b2'>green </font><b><i> bold</i></b>")
.setContentTextSize(21)
.setStrokeWidth(2f)
.setConfirmClickListener(null)
.show()
}
then, I encountered the problem of incomplete display.
So, are there any good solutions? I've seen similar issues, but their solutions don't really work.
binx6 commented
I've tried a few things, and it still doesn't change the fact that it's cut.
binx6 commented
Fortunately, I noticed the tag attributes in styles.xml
and found it effective to modify them.