Add an "info textview" with a border.

This commit is contained in:
Henrik Rydgård committed 2026-10-31 00:27:10 +01:00
1 parent 3ddea502dc
commit 67763e48a1
3 files changed
+13 -1

No files matched your search

+3
View File
@@ -1163,6 +1163,9 @@ void TextView::Draw(UIContext &dc) {
style.background.color &= 0x7fffffff;
dc.FillRect(style.background, bounds_);
}
if (frame_) {
dc.Draw()->DrawRoundRect(bounds_, dc.GetTheme().choiceRoundRadius, textColor, RoundRectStyle::OutlineThin);
}
const FontStyle *style = GetTextStyle(dc, textSize_);
dc.SetFontStyle(*style);