Enhance dialog api

This commit is contained in:
Xuan Sang LE
2020-05-23 20:07:32 +02:00
parent 9f184fc19b
commit 0c93ff7c9c
12 changed files with 116 additions and 56 deletions

View File

@ -2,7 +2,8 @@ class CommandPalette extends this.OS.GUI.BasicDialog
constructor: () ->
super "CommandPalete", CommandPalette.scheme
init: () ->
main: () ->
super.main()
offset = $(".afx-window-content", @parent.scheme).offset()
pw = @parent.scheme.get("width") / 5
@scheme.set "width", 3 * pw