Note the dialog wrapping trap in AGENTS.md
This commit is contained in:
1 file changed
+5
@@ -132,6 +132,11 @@ UI lives in `data/resources/ui/*.blp` (Blueprint) and is compiled to `.ui` by
|
||||
markup — a client must not be able to forge formatting that looks like Regent's
|
||||
own UI. The approval dialog deliberately has **no default response**, so Enter
|
||||
cannot approve; Escape (and the timeout) deny.
|
||||
- Set `wrap_mode(gtk::pango::WrapMode::WordChar)` on labels that show client
|
||||
text. The default `Word` mode will not break a long token (an `npub`, a URL),
|
||||
so the label's **minimum** width becomes the whole token and the dialog grows
|
||||
wider than the window. Since libadwaita ≥1.5 dialogs are an overlay **inside**
|
||||
the window (not a separate OS window), that shows up as a clipped dialog.
|
||||
|
||||
## Verified API traps (do not rediscover these)
|
||||
|
||||
|
||||
Reference in new issue
Block a user