While this attachment is active, moving childWin will not cause the window to move (as in sliding a drawer in or out), but moving the window will cause childWin to move. Here is TextEdit with such a autocompletions window and the Xcode Debug View Hierarchy of the same:Īfter the childWin is added as a child of the window, it is maintained in relative position indicated by place for subsequent ordering operations involving either window. In AppKit document-based apps you would for example overwrite - and setup multiple window controllers for one document.Ĭhild windows are for special use cases, for example: functionality like autocompletions lists, where you would want a chrome-less window with a table view beneath a textfield, which automatically follows the parent window when moved. I do believe you just want to add a second NSWindow, or a NSPanel. Padding: const EdgeInsets.symmetric(vertical: 10), ListView( // change this to ListView.builder for more performance Column(children: [ // and this do not need Height: MediaQuery.of(context).height*0.8, // add this line FloatingActionButton: FloatingActionButton(Ĭhild: Icon(Icons.create, color: ey),
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |