Skip to content

Quickslot exceeds from the top of the screen #153

Description

@stefaniamak

Issue

One of the latest updates increased the height of the vertical quickslot bar's slots, which made it exceed the Terasology's default window size from the top of the screen. There's two aspects to consider for this issue:

  1. In the default window size, the whole vertical quickslot bar should be visible

  2. A player might decrease the window size below the default size. Here all slots should still be visible, although it's acceptable if they wrap to a second column as intended by the FlowLayout design used for the quickslot bar

Solution

  1. Reduce the padding between the quickslot bar slots, so that all 10 slots (1 larger active slot, 9 smaller passive slots) fit into the default window height of 800px (ideally a bit less to match the bottom margin of the quickslot bar and allow a bit of top margin, too). Confirm that all slots are properly visible when using the default window size.

  2. Set the height of the encapsulating UIBox and relativeLayout that contain the quickslot bar FlowLayout to the default window height of 800px. Confirm that

    • on using the default window size, all slots are still visible and aligned in only a single column
    • on furhter decreasing the window size, all slots are still visible, but wrapped properly into multiple columns

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions