Rev 5704 | Rev 5710 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5704 | Rev 5709 | ||
---|---|---|---|
Line 283... | Line 283... | ||
283 | void SetElementSizes() |
283 | void SetElementSizes() |
284 | { |
284 | { |
285 | address_box.top = TOOLBAR_H-TAB_H/2-7+TAB_H; |
285 | address_box.top = TOOLBAR_H-TAB_H/2-7+TAB_H; |
286 | address_box.width = Form.cwidth - address_box.left - 25 - 22; |
286 | address_box.width = Form.cwidth - address_box.left - 25 - 22; |
287 | WB1.list.SetSizes(0, TOOLBAR_H, Form.width - 10 - scroll_wv.size_x / WB1.DrawBuf.zoom, |
287 | WB1.list.SetSizes(0, TOOLBAR_H, Form.width - 10 - scroll_wv.size_x / WB1.DrawBuf.zoom, |
288 | Form.cheight - TOOLBAR_H - STATUSBAR_H, 0, 11*WB1.DrawBuf.zoom); |
288 | Form.cheight - TOOLBAR_H - STATUSBAR_H, 11*WB1.DrawBuf.zoom); |
289 | WB1.list.column_max = WB1.list.w - scroll_wv.size_x / 6; |
289 | WB1.list.column_max = WB1.list.w - scroll_wv.size_x / 6; |
290 | WB1.list.visible = WB1.list.h - 5 / WB1.list.line_h; |
290 | WB1.list.visible = WB1.list.h - 5 / WB1.list.line_h; |
291 | WB1.DrawBuf.Init(WB1.list.x, WB1.list.y, WB1.list.w, WB1.list.line_h); |
291 | WB1.DrawBuf.Init(WB1.list.x, WB1.list.y, WB1.list.w, WB1.list.line_h); |
292 | } |
292 | } |