/* The Image Converter frame, BITMAP2CMP_FRAME's window: the window itself and its status bar. The panel inside it is bitmap2component/bitmap2cmp_panel.css. Every font and colour comes from the shared GTK control-theme tokens in common/widgets/shell.css. */ .imgc-frame { /* This frame's status bar is 10px taller than every other frame's, because BITMAP2CMP_FRAME is one of only two in KiCad that gets a plain wxStatusBar rather than a KISTATUSBAR. Measured, and explained, at the .ze-statusbar rule near the bottom of this file. */ --statusbar-height: 33px; display: flex; flex-direction: column; height: 100vh; background: var(--chrome-bg); color: var(--chrome-fg); font-family: var(--ui-font-family); font-size: var(--ui-font-size); line-height: var(--ui-line-height); } /* The status bar is the shared KiStatusBar (.ze-statusbar in ui/shell.css) - the widget, the panes and the colours are all the shared ones. What this frame does NOT share is the HEIGHT, and the difference is real and measured. BITMAP2CMP_FRAME calls plain CreateStatusBar( 1, wxSTB_SIZEGRIP, wxID_ANY ) (bitmap2component/bitmap2cmp_frame.cpp:181) and does not override OnCreateStatusBar, so it is one of only two frames in KiCad that get a plain wxStatusBar instead of a KISTATUSBAR. Measured off a real bitmap2component window at 1920x1200, column x=600: content (39,39,39) to y=1165, a (24,24,24) rule at y=1166, bar (44,44,44) from y=1167 to 1199 -> 33px, against the project manager's 23. The 24px this file used to force was closer to right than the shared 23; both were wrong. See --statusbar-height in ui/shell.css for why the two differ and for the list of explanations that have already been disproved. Do not unify them. Also local: the frame is a flex column and a native status bar never shrinks, so its flex-basis has to be pinned. */ .imgc-frame > .ze-statusbar { flex: none; } /* The About box is common/dialog_about's DIALOG_ABOUT, the one every frame opens; nothing about it is stated here. */