Thursday, July 1, 2010

Project Poker Part 6

Moving on a little with my poker application.

One thing missing is a panel used to display information about a player. The minimal compulsory set of player data is made up of the name which identifies a player and the number of chips the player has. Have now designed a panel that can be used to display this set of data.

The name of the player is displayed with the use of a Label, that is centered by the use of a Stack layout. Should a player have a too long name so will it be cut and ended off with a ellipsis.

The chip count is also represented with the us of a Label. This means that if a player should have a really large amount of chips so will the number of chips be cut off like for the name of the player. This is not the desired behavior. Will have to fix this later, but not really a prioritized thing right now since there are loads of other things to do.

No comments:

Post a Comment