* [PATCH yew-comp v2] wizard: make content panel resizable
@ 2026-04-02 10:34 Christoph Heiss
2026-04-02 12:00 ` applied: " Dominik Csapak
0 siblings, 1 reply; 2+ messages in thread
From: Christoph Heiss @ 2026-04-02 10:34 UTC (permalink / raw)
To: yew-devel
Without this, the content panel won't be resized together with the
parent wizard dialog, if that is set as resizable, staying static and
not filling the dialog content area properly.
Signed-off-by: Christoph Heiss <c.heiss@proxmox.com>
---
v1: https://lore.proxmox.com/yew-devel/20260401143416.2144615-1-c.heiss@proxmox.com/
Changes v1 -> v2:
* set FlexFit on content panel unconditionally
src/wizard.rs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/wizard.rs b/src/wizard.rs
index 7d83da1..e6f3cd3 100644
--- a/src/wizard.rs
+++ b/src/wizard.rs
@@ -8,7 +8,7 @@ use html::Scope;
use indexmap::IndexMap;
use serde_json::{json, Value};
-use pwt::css::{Flex, Overflow};
+use pwt::css::{Flex, FlexFit, Overflow};
use pwt::props::RenderFn;
use pwt::{prelude::*, AsyncPool};
@@ -553,7 +553,7 @@ impl Component for PwtWizard {
tab_panel.add_item(tab_bar_item, page_content);
}
- let tab_panel = Mask::new(tab_panel).visible(self.loading);
+ let tab_panel = Mask::new(tab_panel).visible(self.loading).class(FlexFit);
Container::new()
.with_child(
--
2.53.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* applied: [PATCH yew-comp v2] wizard: make content panel resizable
2026-04-02 10:34 [PATCH yew-comp v2] wizard: make content panel resizable Christoph Heiss
@ 2026-04-02 12:00 ` Dominik Csapak
0 siblings, 0 replies; 2+ messages in thread
From: Dominik Csapak @ 2026-04-02 12:00 UTC (permalink / raw)
To: yew-devel, Christoph Heiss
On Thu, 02 Apr 2026 12:34:19 +0200, Christoph Heiss wrote:
> Without this, the content panel won't be resized together with the
> parent wizard dialog, if that is set as resizable, staying static and
> not filling the dialog content area properly.
>
>
Applied, thanks!
[1/1] wizard: make content panel resizable
commit: 2cd9542521e0178af8695bde7d3844385fcf6af0
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-04-02 12:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-04-02 10:34 [PATCH yew-comp v2] wizard: make content panel resizable Christoph Heiss
2026-04-02 12:00 ` applied: " Dominik Csapak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox