[0.16.18] Caption for sprite button

This subforum contains all the issues which we already resolved.
Post Reply
Fast Inserter
Fast Inserter
Posts: 102
Joined: Mon Sep 26, 2016 10:29 pm

[0.16.18] Caption for sprite button

Post by _npo6ka_ »

I want to create a sprite button with the text on it, but after attaching the value of the sprite, the text was under the sprite. It seems to me that the text should be on top of the sprite.


Code: Select all

  type = "sprite-button", 
  name = "my_sprite_button",
  style = "slot_button",
  sprite = "hand_icon",
  caption = "123"

  type = "sprite",
  name = "hand_icon",
  filename = "__core__/graphics/hand.png",
  priority = "extra-high-no-scale",
  width = 32,
  height = 32,
  scale = 1,

Factorio Staff
Factorio Staff
Posts: 7563
Joined: Wed Feb 06, 2013 12:00 am

Re: [0.16.18] Caption for sprite button

Post by kovarex »

Thanks for the notice, fixed for the next version.

Post Reply

Return to “Resolved Problems and Bugs”

Who is online

Users browsing this forum: No registered users