Open kpreid opened 10 months ago
As of 1791e75a2eb4c6b184ac3b86dcd9871ee016b445 we have a Label
widget, and each Text
has a layout_bounds
box and resolution.
f4e256cfe0dca410b2c4266176a01826fd61a0cf adds outlined text. However, I ran into trouble trying to actually use it for the Tooltip
widget — nothing is visible even though all the layout looks correct. (The bug is not specific to outlined text.) I think I need better debugging tools for block definitions — some kind of “why is this invisible” report.
84e332284cf38a9adbaddbafa24677628af38092 adds text for button labels (but much work is needed on tuning the layout).
570d7df5b3b2376f446ce31fda8423a3dcd4cd7f converts the Tooltip
widget to use text blocks. It reveals our lack of proper bounding box handling for outlined text.
As discussed in 95a1578cde6ed0a51efe7f3febcb12f8b56bf924, I am adding
Primitive::Text
, text rendering in blocks without rendering to an intermediate space, for more efficient rendering and better interactive editability. The feature needs work:vui::widgets::Label
that displays static text blocks from a string. (03fd53fe5ab668acd528dbfffccecb9fce64c1dd)vui::widgets::TextBox
that displays dynamic and eventually editable text.vui::widgets::*Button
. (84e332284cf38a9adbaddbafa24677628af38092)embedded-graphics
— #528)