gammasoft71 / xtd

Free open-source modern C++17 / C++20 framework to create console, GUI (forms like WinForms) and unit test applications and libraries on Microsoft Windows, Apple macOS and Linux.
https://gammasoft71.github.io/xtd
MIT License
737 stars 58 forks source link

[BUG] xtd::forms - Adding collapsible_panel::parent call results in very minimal main window #189

Closed jimorc closed 1 year ago

jimorc commented 1 year ago

Describe the bug

Calling collapsible_panel::parent to attach to a form or panel causes the program to start with a minimal title bar and nothing else. See the screenshot below.

To Reproduce

Steps to reproduce the behavior:

  1. Build and execute the sample program collapsible_panel.cpp. Program opens with display as shown in screenshot.
  2. Comment out the lines
    collapsible_panel2.parent(*this);
    ...
    collapsible_panel1.parent(*this);
  3. Build and execute. Program opens with form1 client area visible.

Expected behaviour

Program should open with form1 client area visible and containing the collapsible panels.

Screenshots

Screen Shot 2022-08-21 at 11 03 11

Desktop (please complete the following information)

Additional context

N/A

Workaround

None known

gammasoft71 commented 1 year ago

The development of the collapsible_panel control is not yet finished. There is a draft at the moment which is far from being satisfactory. It is planned for version 0.2.0.

For more information see the roadmap, Kanban board and the related issue #60.

Duplicate #60.