File tree Expand file tree Collapse file tree
src/com/osudroid/ui/v2/multi Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -157,6 +157,7 @@ class RoomPlayerCard : UILinearContainer() {
157157 width = FillParent
158158 orientation = Orientation .Horizontal
159159 spacing = 12f
160+ padding = Vec4 (12f , 8f )
160161
161162 bannerSprite = UIShapedSprite ().apply {
162163 inheritAncestorsColor = false
@@ -181,7 +182,7 @@ class RoomPlayerCard : UILinearContainer() {
181182 inheritAncestorsColor = false
182183 anchor = Anchor .CenterLeft
183184 origin = Anchor .CenterLeft
184- size = Vec2 (40f )
185+ size = Vec2 (50f )
185186
186187 shape = object : UIBox () {
187188 init {
@@ -250,7 +251,7 @@ class RoomPlayerCard : UILinearContainer() {
250251 modDisplay?.detachSelf()
251252
252253 modDisplay = UIText ().apply {
253- minHeight = 20f // Force to take space even if no mods are enabled
254+ minHeight = 24f // Force to take space even if no mods are enabled
254255 font = ResourceManager .getInstance().getFont(" xs" )
255256 applyTheme = { color = it.accentColor * 0.8f }
256257 }
@@ -264,8 +265,8 @@ class RoomPlayerCard : UILinearContainer() {
264265 modDisplay?.detachSelf()
265266
266267 modDisplay = ModsIndicator ().apply {
267- minHeight = 20f // Force to take space even if no mods are enabled
268- iconSize = 20f
268+ minHeight = 24f // Force to take space even if no mods are enabled
269+ iconSize = 24f
269270 }
270271
271272 innerContainer + = modDisplay!!
You can’t perform that action at this time.
0 commit comments