Page 1 of 1

[0.17.68] GUI Padding is not set right

Posted: Sat Sep 07, 2019 1:00 am
by LuziferSenpai
Hey,

I currently play around much with styles and now I always have this one Problem:
factorio_RaSypeelaH.png
factorio_RaSypeelaH.png (967 Bytes) Viewed 1343 times
The Padding on the left and bottom shouldnt be there!
The Ctrl + F6 Style rundown.
The Style in Code:

Code: Select all

s["richpresetbutton"] =
{
    type = "button_style",
    parent = "slot_button",
    width = 18,
    height = 18,
    scalable = false,
    align = "left",
    font = "RichSavedPreset",
    hovered_font_color = nil,
    clicked_font_color = nil,
    disabled_font_color = nil,
    default_font_color = nil,
    padding = 0,
}
The Button:

Code: Select all

 parent.add{ type = "button", name = "RichPresetButton01", caption = "B", style = "richpresetbutton" }
Custom Font:

Code: Select all

{
    type = "font",
    name = "RichSavedPreset",
    from = "Simple",
    size = 14
}
Font:
SimpleSquare.zip
(1.19 KiB) Downloaded 55 times
Greetz,

Luzifer

Re: [0.17.68] GUI Padding is not set right

Posted: Tue Jan 21, 2020 12:24 pm
by Klonan
Until we have an issue like this in the base game, we aren't going to look into it