Files
vibemake-pcb-studio/common/widgets/wx_listbox.css
T
likang 7e01147566
CI / typecheck + test + build (push) Has been cancelled
Initial commit: import VibeMake PCB Studio
2026-11-03 11:20:08 +08:00

19 lines
758 B
CSS

/* WX_LISTBOX (common/widgets/wx_listbox.tsx). The list's face, ink, frame and
selected row are `.ze-gridlist`'s in shell.css — the same GTK treeview in a
scrolled window — and are not restated here.
`wxNO_BORDER` (footprint_viewer_frame.cpp:145, :168): the scrolled window
draws no `.frame`, so the 1px `--ctl-border` rule goes. [data] */
.ze-gridlist.ze-listbox-noborder {
border: none;
}
/* `wxLB_HSCROLL`: a row longer than the list scrolls sideways rather than
wrapping or clipping. `.ze-gridlist-row` is already nowrap; the rows have to
be allowed to be wider than the list for the scroller to have anything to
scroll. */
.ze-listbox > .ze-gridlist-row {
width: max-content;
min-width: 100%;
box-sizing: border-box;
}