pragma ComponentBehavior: Bound import QtQuick import qs.hyprchrome.theme import qs.hyprchrome.widgets.panels // Staging widget for the debug window: a BarPanel carrying filler copy in both // of the panel's densities — the full block when expanded, one elided line when // collapsed. Both read the same `text`, so the two modes cannot disagree. // // Give it a width; the height follows whichever body is showing. BarPanel { id: lorem property string text: "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since 1966, when designers at Letraset and James Mosley, the librarian at St Bride Printing Library in London, took a 1914 Cicero translation and scrambled it to make dummy text for Letraset's Body Type sheets. It has survived not only many decades, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised thanks to these sheets and more recently with desktop publishing software like Aldus PageMaker and Microsoft Word including versions of Lorem Ipsum." title: "LOREM IPSUM" // Collapsed: one line, cut off where the panel ends. summary: Text { width: parent.width text: lorem.text color: Theme.muted font.family: Theme.displayFont font.pixelSize: 12 maximumLineCount: 1 elide: Text.ElideRight } // Expanded: the whole thing, wrapped. Text { width: parent.width text: lorem.text color: Theme.text font.family: Theme.displayFont font.pixelSize: 12 wrapMode: Text.WordWrap } }