Opened 12 months ago
#18740 new bug
BCardLayout with nested layouts does not work
Reported by: | pulkomandy | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Kits/Interface Kit | Version: | R1/beta4 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
Consider something like this:
BCardLayout* layout = ...; BLayoutBuilder::Card<>(layout) .AddGroup(B_HORIZONTAL) .End() .AddGroup(B_HORIZONTAL) .Add(new BStringView("page 2", "Page 2")) .End() .SetVisibleItem((int32)0) .End();
Expected result: the "page 2" string view is not visible, we should be in card 0
Actual result: this does not work.
Workaround: after making the second page explicitly visible and then hidden again, it works. It's just the initial visiblity setting that's broken.
Note:
See TracTickets
for help on using tickets.