Skip to content

Commit

Permalink
Listbox width fixed, vscrollbar not showing
Browse files Browse the repository at this point in the history
  • Loading branch information
lordkrandel committed Sep 24, 2012
1 parent 4cf7593 commit e760098
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/ac/ac.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class autoComplete extends g { ; ________________________
, "^d" : "deselectAll"
, "^o" : "odbcConfig" }
, controls: { "Edit1" : "filter" } }
geom := { w: 350, h: 537 }
geom := { w: 380, h: 537 }
Entries := ""
hwnd := ""
controller := new acController(this)
Expand All @@ -51,7 +51,7 @@ class autoComplete extends g { ; ________________________
Gui, %g%: +Resize
Gui, %g%: Font, s10, Verdana
Gui, %g%: Add, edit, x0 y0 w300 h20 hwndhwndedit gEventDispatcher
Gui, %g%: Add, listbox, x0 y20 hwndhwndlistbox Choose1 0x100 Multi
Gui, %g%: Add, listbox, x0 y20 hwndhwndlistbox Choose1 0x100 Multi +0x1000

this.hwnd := winhwnd
this.listbox := new Listbox(hwndlistbox)
Expand Down Expand Up @@ -94,7 +94,7 @@ class autoComplete extends g { ; ________________________
bl := A_BatchLines
SetBatchLines, 1000
p := this.getPos()
this.controlSet( this.listbox.hwnd, "Move", "w" p.w " h" p.h - 60 )
this.controlSet( this.listbox.hwnd, "Move", "w" p.w - 15 " h" p.h - 58)
this.controlSet( this.win.edit, "Move", "w" p.w )
SetBatchLines, %bl%
}
Expand Down

0 comments on commit e760098

Please sign in to comment.