PlayerInventoryUI: change the orientation of the inventory mode switch
This commit is contained in:
@@ -91,7 +91,7 @@ local function getCompactForm(self, playerName)
|
||||
:list('current_player', 'main', 1.5,9.75, 9,1)
|
||||
:list('current_player', 'main', 1.5,11.25, 9,1, 9)
|
||||
-- Inventory mode switch button (compact/full):
|
||||
:imageButton(13, 9.75, 0.5, 1, 'player_inventory_compact_mode_button_on.png', 'change_compact_mode')
|
||||
:imageButton(12.75, 10, 1, 0.5, 'player_inventory_compact_mode_button_on.png', 'change_compact_mode')
|
||||
-- Tab:
|
||||
:container(tabs[leftTabName](self, playerName, 'left'), 1.5, 0.5)
|
||||
-- Selection buttons for the (left) panel:
|
||||
@@ -146,7 +146,7 @@ local function getFullForm(self, playerName)
|
||||
:list('current_player', 'main', 5.5,9.75, 9,1)
|
||||
:list('current_player', 'main', 5.5,11.25, 9,1, 9)
|
||||
-- Inventory mode switch button (compact/full):
|
||||
:imageButton(17, 9.75, 0.5, 1, 'player_inventory_compact_mode_button_off.png', 'change_compact_mode')
|
||||
:imageButton(16.75, 10, 1, 0.5, 'player_inventory_compact_mode_button_off.png', 'change_compact_mode')
|
||||
-- Tabs:
|
||||
:container(tabs[leftTabName](self, playerName, 'left'), 0, 0.5)
|
||||
:container(tabs[rightTabName](self, playerName, 'right'), 11, 0.5)
|
||||
|
||||
Reference in New Issue
Block a user