Makie | First item in GridLayout not displayed

Hello,

OS: Windows 11
Julia: 1.7.2
Makie: 0.17.2

The first item “Patient” in the following nested GridLayout is not being displayed:

Code fragment:

# Figure for GLMakie display
noto_sans = assetpath("NotoSans-Regular.ttf")
figure = Figure(
            backgroundcolor = :black,
            resolution = (1920, 1040),
            font = noto_sans)

# Top level grid layout
top_level_grid_layout = figure[1, 1:3] = GridLayout()

# Control panel grid layout
control_padding = 16
control_panel_grid_layout = top_level_grid_layout[1, 1][1:5, 1] = GridLayout()
patient_panel_grid_layout = control_panel_grid_layout[1, 1] = GridLayout()
acquisition_panel_grid_layout = control_panel_grid_layout[2, 1] = GridLayout()

window_2D_box_level_menu_grid_layout = control_panel_grid_layout[3, 1] = GridLayout()

window_2D_level_menu_grid_layout = window_2D_box_level_menu_grid_layout[1, 1] =
    GridLayout(alignmode = Outside(control_padding))

window_2D_box_level_sliders_grid_layout = control_panel_grid_layout[4, 1] = GridLayout()

window_2D_level_sliders_grid_layout = window_2D_box_level_sliders_grid_layout[1, 1] =
    GridLayout(alignmode = Outside(control_padding))

segment_box_button_grid_layout = control_panel_grid_layout[5, 1] = GridLayout()
segment_button_grid_layout = segment_box_button_grid_layout[1, 1] =
    GridLayout(alignmode = Outside(control_padding))  
control_panel_box_placeholder_grid_layout = control_panel_grid_layout[6, 1] = GridLayout()

. . .

# Patient data. Currently not being displayed.
patient_string = string(
                    "Patient\n\n",
                    "\t\t\tName: ", series_dict[:patientName], "\n",
                    "\t\t\tAge: ", series_dict[:patientAge], "\n",
                    "\t\t\tSex: ", series_dict[:patientSex], "\n",
                    "\t\t\tWeight: ", series_dict[:patientWeight], "kg\n",
                    "\t\t\tAccension Number: ", series_dict[:accessionNumber],"\n",
                    "\n\n")

patient_text_panel = 
Axis(
    patient_panel_grid_layout[1,1],
    backgroundcolor = :grey10)

hidedecorations!.(patient_text_panel)

Label(
    patient_panel_grid_layout[1, 1], 
    text = patient_string,
    color = :gray80,
    halign = :left,
    valign = :center,
    justification = :left,
    padding = (14.0f0, 16.0f0, 16.0f0, 16.0f0),
    tellheight = true,
    tellwidth = true,
    textsize = 16)

# Image acquisition data
acquisition_string = 
string(
    "Image acquisition\n\n",
    "\t\t\tModality: ", series_dict[:modality], "\n",
    "\t\t\tManufacturer: ", series_dict[:manufacturer], "\n",
    "\t\t\tModel: ", series_dict[:manufacturerModelName], "\n",
    "\t\t\tStudy description: ", series_dict[:studyDescription], "\n",
    "\t\t\tSeries description: ", series_dict[:seriesDescription], "\n",
    "\t\t\tNumber of slices: ", series_dict[:numberOfSlices], "\n",
    "\t\t\tSlice spacing: ", round(series_dict[:sliceSpacing], digits = 3), "mm\n",
    "\t\t\tNumber of pixels: [", series_dict[:numberOfRows], ", ", series_dict[:numberOfColumns], "]\n",
    "\t\t\tPixel spacing: ", series_dict[:pixelSpacing], "mm\n",)

acquisition_text_panel = 
Axis(
    acquisition_panel_grid_layout[1,1],
    backgroundcolor = :grey10)

hidedecorations!.(acquisition_text_panel)

Label(
    acquisition_panel_grid_layout[1, 1], 
    text = acquisition_string,
    color = :gray80,
    halign = :left,
    valign = :center,
    justification = :left,
    lineheight = 1.3,
    padding = (14.0f0, 16.0f0, 16.0f0, 16.0f0),
    tellheight = true,
    tellwidth = true,
    textsize = 16)

. . .

What puzzles me is that I’m fairly certain that in a previous version of Makie ~ Autumn 2022, this code worked as expected.

Those got overworked quite heavily, and we don’t have lots of tests for the UI elements.
Can you open an issue with a minimal working example, showing off the bug?

I’ve opened an issue with a MWE demonstrating the problem:

https://github.com/JuliaPlots/Makie.jl/issues/1962