mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-16 21:46:00 +08:00
Add image frame padding
This commit is contained in:
parent
35c5099469
commit
1bc7200c6f
@ -2022,7 +2022,7 @@ GuiCfg create_gui_configuration() {
|
|||||||
float separator_height = 2 + style.FramePadding.y;
|
float separator_height = 2 + style.FramePadding.y;
|
||||||
float window_height =
|
float window_height =
|
||||||
window_title + // window title
|
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
|
line_height_with_spacing + // filename
|
||||||
separator_height + // separator - orange line
|
separator_height + // separator - orange line
|
||||||
input_height * 7 + // depth + size + use_surface + FromSurface + Rotation + Mirror + FaceTheCamera
|
input_height * 7 + // depth + size + use_surface + FromSurface + Rotation + Mirror + FaceTheCamera
|
||||||
|
Loading…
x
Reference in New Issue
Block a user