[0.17.68] GUI Padding is not set right

We are aware of them, but do not have solutions that don't cause other issues. They go here in order not to take space in the main bug thread list.
User avatar
LuziferSenpai
Filter Inserter
Filter Inserter
Posts: 393
Joined: Tue Jul 08, 2014 10:06 am
Contact:

[0.17.68] GUI Padding is not set right

Post 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 1652 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 89 times
Greetz,

Luzifer
Coding is awesome!
Animes are love!
Factorio is life!

My MODs:
Click

Greetz,

Senpai
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5406
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [0.17.68] GUI Padding is not set right

Post by Klonan »

Until we have an issue like this in the base game, we aren't going to look into it
Post Reply

Return to “Minor issues”