Skip to content

Commit

Permalink
Merge pull request #3684 from olorinmaia/user_action_positive_margin
Browse files Browse the repository at this point in the history
Fix so there is gap between Automation user action buttons
  • Loading branch information
MilosKozak authored Jan 3, 2025
2 parents 4344a18 + e8db2f6 commit 1824559
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ class OverviewFragment : DaggerFragment(), View.OnClickListener, OnLongClickList
it.setTextColor(rh.gac(context, app.aaps.core.ui.R.attr.treatmentButton))
it.setTextSize(TypedValue.COMPLEX_UNIT_SP, 10f)
it.layoutParams = LinearLayout.LayoutParams(0, ViewGroup.LayoutParams.MATCH_PARENT, 0.5f).also { l ->
l.setMargins(0, 0, rh.dpToPx(-4), 0)
l.setMargins(rh.dpToPx(1), 0, rh.dpToPx(1), 0)
}
it.setCompoundDrawablesWithIntrinsicBounds(null, rh.gd(app.aaps.core.ui.R.drawable.ic_user_options), null, null)
it.text = event.title
Expand Down

0 comments on commit 1824559

Please sign in to comment.