Skip to content

Resizing Anchorables

Dirkster99 edited this page Jun 12, 2019 · 18 revisions

Tool Window Layout (Load/Save)

  1. Delete the AvalonDock layout file that is loaded on start-up
    MLibTest\bin\Debug\AvalonDock.Layout.config

  2. Start MLibTest\bin\Debug\MLibTest.exe
    Drag the Color Picker (tool window) to the right side and make the Spectrum Slider align with the combo box above it

  3. Click File>New to create a new file
    Expectation: Test application should look like below
    (Tool Window (x) close button is visible as long as caption and other buttons fit into small size)

  4. Resize the Window to a smaller size
    Expectation: Tool Window gets smaller when document is at minimal size as shown below

  5. Click Maximize (button) in right top of MainWindow
    Expectation: Color Picker (toolwindow) is shown with previsouly set size
    (Spectrum Slider align with the combo box)

  6. Click Restore (button) in right top of MainWindow
    Expectation: Small ToolWindow is shown again as before maximization

  7. Drag Tool 3 (toolwindow) to the left side of the document and repeat previous test steps 4-6
    Expectation: Application should look like in below screenshots

  8. Click Restore (button) in right top of MainWindow
    Click Close Application X (button) in right top of MainWindow
    Restart MLibTest Expectation: Layout should be reloaded and application should look as previously layouted

Issue: Layout is saved with small tool window

Demo Projects

Controls

Layout Models

Interfaces

Class Designs

Bugs

Manual Tests

Clone this wiki locally