PDA

View Full Version : SA 4.2 - Dialog not work on Design View



18 Aug 2017, 12:57 AM
Hi all,
from a blank project, Dialog component don't show on design view.
Dialog is present on Project Inspector.
Adding a button component on dialog, same problem on design view.
Any idea?
Luca



Version:
4.2.2.282





Channel:
4.2-stable





Platform:
1.6.2.49 - darwin x64





Renderer:
56.0.2924.87





Cmd:
6.5.1.240





Framework:
Ext JS 6.5.x Modern

petr.vecera
18 Aug 2017, 1:56 AM
Hi

Dialog is problematic component. It requires to call .show() and it "floats", so far we don't have a way to display this on canvas in SA. It's the same problem like with Ext.Msg

You can solve it this way:

https://github.com/petrvecera/ChessEloApp/blob/master/App/app/view/forms/AddGameDialog.js

Create the content of the dialog (if you need something bigger in it) in a different class. Container or something. And than link it using 'items'. The dialog than handles only the buttons.

Cheers
Petr