fix(ui): console-commands modal slide + wallets footer clipping
Two follow-ups to the modal float work: - Console RPC command reference (renderCommandsPopup) had the SAME auto-height feedback bug as Wallets: BlurFloat with no cardHeight, and its fill-height command list read GetContentRegionAvail() inside the AutoResizeY child -> self-referential, sliding content off-screen after a monitor move. Give it a FIXED viewport-relative cardHeight (fills ~84% of the viewport). Also removed its duplicate body H6 heading (the framework h6 title already shows it) — missed earlier because it's spec-form, not the positional overload. - Wallets footer clipping: after the fixed-height conversion the content child clips overflow (NoScrollbar), and the hardcoded 130*dp reserve below the table was too small for the create/add-folder rows + separator + footer (~160*dp), so the buttons clipped — worse at 150%. Compute the reserve from real widget metrics (GetFrameHeightWithSpacing + caption height) so it holds at any DPI. Added a modal-console-commands sweep surface (debug-gated ConsoleTab setter) so the popup is captured. Verified both at 100% and font_scale 1.5 (150%): footers on-screen, single headings, lists fill, nothing clipped. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -47,7 +47,11 @@ public:
|
||||
* Must be called outside any child window so the modal blocks all input.
|
||||
*/
|
||||
void renderCommandsPopupModal();
|
||||
|
||||
|
||||
// Debug/UI-sweep hook: force the RPC command-reference popup open/closed so the full UI sweep
|
||||
// can capture it (the popup is otherwise opened only by a toolbar button).
|
||||
void sweepSetCommandsPopup(bool open) { show_commands_popup_ = open; }
|
||||
|
||||
/**
|
||||
* @brief Add a line to the console output
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user