Skip to content

Commit

Permalink
scroll bar now next to listbox
Browse files Browse the repository at this point in the history
  • Loading branch information
Leon Maurer committed May 8, 2008
1 parent 77f9082 commit a587b25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions styletool.rb
Expand Up @@ -43,11 +43,11 @@ def initialize
selectmode "none"
height 5
yscrollcommand yscroll
}.grid('column'=>1, 'row'=>0,'sticky'=>'w', 'padx'=>5, 'pady'=>5)
}.grid('column'=>1, 'row'=>0,'sticky'=>'nsew')
@lbscroll = TkScrollbar.new(@root) {
orient 'vertical'
command scroll
}.grid('column'=>2, 'row'=>0,'sticky'=>'ns')
}.grid('column'=>2, 'row'=>0,'sticky'=>'wns')

addfile = proc {
filename = Tk.getOpenFile
Expand Down

0 comments on commit a587b25

Please sign in to comment.