2014-04-07 17:58 GMT+02:00 Thomas Bany <mun.sys...@gmail.com>: > Okey so I only needed to select a directory and needed to shrink the size > of the widget anyway. So I opted for the sublass solution, got rid of the > file pane and added an action block on the #ok method. > > > 2014-04-07 16:12 GMT+02:00 Thomas Bany <mun.sys...@gmail.com>: > > Hi ! >> >> I'm trying to fit a GUI in full screen mode, that uses a FileDialogWindow >> at some point. >> >> I'm able to recover the answer from FileDialogWindow when I it is opened >> modaly. However, since I would like to open it fullscreen with the selector >> #openFullScreen, the calling block does not wait and immediatly gets a nil >> answer. >> >> I was thinking of hacking my way out of it and subclassing >> FileDialogWindow to overide a method somewhere to call a block of my >> choosing but I really does not feel right. >> >> Has anyone a clue ? >> >> Thanks in advance for your time ! >> >> Thomas. >> > >
Why do you need a dialog window in fullscreen size, if it is modal anyway ? Have you tried FileList (it isn't fullscreen, and doesn't look as nice as the FileDialogWindow, but maybe it is easier to hack around with.) FileList modalFolderSelector: FileSystem disk workingDirectory regards nicolai