mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-03-06 12:27:49 +01:00
allow word breaks by chars
This commit is contained in:
parent
965e48a31d
commit
6788062bde
@ -235,7 +235,7 @@ class MonthFragment : Fragment(), MonthlyCalendar {
|
|||||||
|
|
||||||
(View.inflate(context, R.layout.day_monthly_item_view, null) as TextView).apply {
|
(View.inflate(context, R.layout.day_monthly_item_view, null) as TextView).apply {
|
||||||
setTextColor(textColor)
|
setTextColor(textColor)
|
||||||
text = it.title
|
text = it.title.replace(" ", "\u00A0") // allow word break by char
|
||||||
gravity = Gravity.START
|
gravity = Gravity.START
|
||||||
background = backgroundDrawable
|
background = backgroundDrawable
|
||||||
layoutParams = eventLayoutParams
|
layoutParams = eventLayoutParams
|
||||||
|
Loading…
x
Reference in New Issue
Block a user