Skip to content

Commit

Permalink
Updaitng the atribute interface to be (hopefully) a little more readable
Browse files Browse the repository at this point in the history
  • Loading branch information
mealeyst committed Dec 1, 2023
1 parent 71537ec commit e4fa05d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion client/lib/engine/gui/characterSelect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export class CharacterSelect extends FullScreenMenu {
const attributeValueGrid = new Grid(
`${menuId}__attribute_${attribute}_grid`,
)
attributeValueGrid.width = '100%'
attributeValueGrid.width = '160px'
attributeValueGrid.height = '40px'
attributeValueGrid.addColumnDefinition(0.33)
attributeValueGrid.addColumnDefinition(0.33)
Expand Down Expand Up @@ -198,6 +198,9 @@ export class CharacterSelect extends FullScreenMenu {
attributeValueGrid.addControl(attributeMinusButton, 0, 0)
attributeValueGrid.addControl(attributePlusButton, 0, 2)
attributePanel.addControl(attributeValueGrid)
attributePanel.paddingBottom = '20px'
attributePanel.paddingLeft = '10px'
attributePanel.paddingRight = '10px'
attributesPanel.addControl(attributePanel)
}
this.menu.addControl(attributesPanel)
Expand Down

0 comments on commit e4fa05d

Please sign in to comment.