diff --git a/assets/voxygen/element/buttons/inv_slot.vox b/assets/voxygen/element/buttons/inv_slot.vox index c04bbb1aa5..0ba79c16d2 100644 --- a/assets/voxygen/element/buttons/inv_slot.vox +++ b/assets/voxygen/element/buttons/inv_slot.vox @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:617ccb0eb3fa50ec8359687720c86757bccaecd635e7af2cfad7ebea3b6ecc5f -size 44715 +oid sha256:69d4eb3b262de7ce2280d6a648ddb0e461e513b6c4e74bbff8bc8ede51e73532 +size 46011 diff --git a/voxygen/src/hud/bag.rs b/voxygen/src/hud/bag.rs index 488e1abd5f..8918ba7cf5 100644 --- a/voxygen/src/hud/bag.rs +++ b/voxygen/src/hud/bag.rs @@ -118,7 +118,7 @@ impl<'a> Widget for Bag<'a> { // Test Item if self.inventory_space > 0 { Button::image(self.imgs.potion_red) // TODO: Insert variable image depending on the item displayed in that slot - .w_h(4.0 * 3.5, 7.0 * 3.5) // TODO: height value has to be constant(but not the same as the slot widget), while width depends on the image displayed to avoid stretching + .w_h(4.0 * 4.5, 7.0*4.5) // TODO: Fix height and scale width correctly to that to avoid a stretched item image .middle_of(state.ids.inv_slot[0]) // TODO: Items need to be assigned to a certain slot and then placed like in this example .label("5x") // TODO: Quantity goes here... .label_font_id(self.fonts.opensans)