mirror of
https://github.com/yairm210/Unciv.git
synced 2025-03-03 22:22:51 +07:00
Fix unresponsive policy screen header (#8552)
* Fix unresponsive policy screen header * Update PolicyPickerScreen.kt
This commit is contained in:
parent
3180fce94d
commit
4c7d7e1119
@ -3,6 +3,7 @@ package com.unciv.ui.pickerscreens
|
||||
import com.badlogic.gdx.graphics.Color
|
||||
import com.badlogic.gdx.scenes.scene2d.Actor
|
||||
import com.badlogic.gdx.scenes.scene2d.Group
|
||||
import com.badlogic.gdx.scenes.scene2d.Touchable
|
||||
import com.badlogic.gdx.scenes.scene2d.ui.Cell
|
||||
import com.badlogic.gdx.scenes.scene2d.ui.Image
|
||||
import com.badlogic.gdx.scenes.scene2d.ui.Table
|
||||
@ -562,6 +563,8 @@ class PolicyPickerScreen(val worldScreen: WorldScreen, civInfo: Civilization = w
|
||||
table.add(expandIcon).minWidth(15f).expandX().left()
|
||||
table.add(branch.name.tr().uppercase().toLabel(fontSize = 14).apply { setAlignment(Align.center) }).center()
|
||||
table.add(icon).expandX().left().padLeft(5f)
|
||||
|
||||
table.setTouchable(Touchable.enabled)
|
||||
|
||||
header.add(table).minWidth(150f).growX()
|
||||
header.pack()
|
||||
|
Loading…
Reference in New Issue
Block a user