G
Guest
How can I pack this so it looks like this.
[New Sprite [-][+][x]]
-------------------------
| Width: [ ] |
| Height: [ ] |
- - - - - - - - - - - -
dialogBox = TkToplevel.new('title'=>'New Sprite')
frame = TkFrame.new(dialogBox).pack('fill'=>'both')
widthLabel = TkLabel.new(frame, 'text'=>'Width: ')
widthEntry = TkEntry.new(frame)
widthEntry.value = 32
heightLabel = TkLabel.new(frame, 'text'=>'Height: ')
heightEntry = TkEntry.new(frame)
heightEntry.value = 32
[New Sprite [-][+][x]]
-------------------------
| Width: [ ] |
| Height: [ ] |
- - - - - - - - - - - -
dialogBox = TkToplevel.new('title'=>'New Sprite')
frame = TkFrame.new(dialogBox).pack('fill'=>'both')
widthLabel = TkLabel.new(frame, 'text'=>'Width: ')
widthEntry = TkEntry.new(frame)
widthEntry.value = 32
heightLabel = TkLabel.new(frame, 'text'=>'Height: ')
heightEntry = TkEntry.new(frame)
heightEntry.value = 32