Add image frame padding

This commit is contained in:
Filip Sykala - NTB T15p 2023-09-15 13:25:49 +02:00
parent 35c5099469
commit 1bc7200c6f

View File

@ -2022,7 +2022,7 @@ GuiCfg create_gui_configuration() {
float separator_height = 2 + style.FramePadding.y;
float window_height =
window_title + // window title
cfg.texture_max_size_px + // preview
cfg.texture_max_size_px + 2 * style.FramePadding.y + // preview
line_height_with_spacing + // filename
separator_height + // separator - orange line
input_height * 7 + // depth + size + use_surface + FromSurface + Rotation + Mirror + FaceTheCamera