Ignore:
Timestamp:
Feb 3, 2018, 3:29:17 PM (7 years ago)
Author:
chronos
Message:
  • Modified: Set Bitmap size at once.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/Term.pas

    r111 r118  
    25572557        CityDlg.Reset;
    25582558
    2559         Mini.width := G.lx * 2;
    2560         Mini.height := G.ly;
     2559        Mini.SetSize(G.lx * 2, G.ly);
    25612560        for i := 0 to nPl - 1 do
    25622561        begin
     
    35483547  end;
    35493548  MapHeight := ClientHeight - TopBarHeight - PanelHeight + overlap;
    3550   Panel.width := ClientWidth;
    3551   Panel.height := PanelHeight;
    3552   TopBar.width := ClientWidth;
    3553   TopBar.height := TopBarHeight;
     3549  Panel.SetSize(ClientWidth, PanelHeight);
     3550  TopBar.SetSize(ClientWidth, TopBarHeight);
    35543551  MiniFrame := (lxmax_xxx - G.ly) div 2;
    35553552  xMidPanel := (G.lx + MiniFrame) * 2 + 1;
Note: See TracChangeset for help on using the changeset viewer.