File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
src/main/kotlin/me/proxer/app/ui/view Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -203,7 +203,11 @@ class ExpandableSelectionView @JvmOverloads constructor(
203
203
204
204
radioButton.text = item.value
205
205
radioButton.isChecked = selection.contains(item.value)
206
- radioButton.updateLayoutParams<MarginLayoutParams > { marginStart = - context.dip(5 ) }
206
+
207
+ radioButton.updateLayoutParams<MarginLayoutParams > {
208
+ marginStart = - context.dip(5 )
209
+ marginEnd = context.dip(5 )
210
+ }
207
211
208
212
TooltipCompat .setTooltipText(radioButton, item.description)
209
213
@@ -229,7 +233,11 @@ class ExpandableSelectionView @JvmOverloads constructor(
229
233
230
234
checkBox.text = item.value
231
235
checkBox.isChecked = selection.contains(item.value)
232
- checkBox.updateLayoutParams<MarginLayoutParams > { marginStart = - context.dip(5 ) }
236
+
237
+ checkBox.updateLayoutParams<MarginLayoutParams > {
238
+ marginStart = - context.dip(5 )
239
+ marginEnd = context.dip(5 )
240
+ }
233
241
234
242
TooltipCompat .setTooltipText(checkBox, item.description)
235
243
You can’t perform that action at this time.
0 commit comments