Changeset 107 for trunk/Forms/UFormMain.pas
- Timestamp:
- Feb 17, 2016, 1:17:21 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormMain.pas
r100 r107 141 141 PaintBox1.Canvas.Draw(0, 0, TempBitmap); 142 142 end else begin 143 {$ifdef WINDOWS} 144 PaintBox1.Canvas.Brush.Color := clBackground; //PaintBox1.GetColorResolvingParent; 145 PaintBox1.Canvas.FillRect(0, 0, PaintBox1.Width, PaintBox1.Height); 146 {$endif} 143 147 Paint(PaintBox1.Canvas); 144 148 end; … … 203 207 if AToolBarBigIcons.Checked then begin 204 208 ToolBar1.Images := Core.ImageListLarge; 205 ToolBar1.ButtonWidth := 32+ 7;206 ToolBar1.ButtonHeight := 32+ 6;207 ToolBar1. Height := 32+ 10;208 ToolBar1. Width := 32+ 10;209 ToolBar1.ButtonWidth := Core.ImageListLarge.Width + 7; 210 ToolBar1.ButtonHeight := Core.ImageListLarge.Height + 6; 211 ToolBar1.Width := Core.ImageListLarge.Width + 10; 212 ToolBar1.Height := Core.ImageListLarge.Height + 10; 209 213 end else begin 210 ToolBar1.ButtonWidth := 16 + 7;211 ToolBar1.ButtonHeight := 16 + 6;212 ToolBar1.Height := 16 + 10;213 ToolBar1.Width := 16 + 10;214 214 ToolBar1.Images := Core.ImageListSmall; 215 ToolBar1.ButtonWidth := Core.ImageListSmall.Width + 7; 216 ToolBar1.ButtonHeight := Core.ImageListSmall.Height + 6; 217 ToolBar1.Width := Core.ImageListSmall.Width + 10; 218 ToolBar1.Height := Core.ImageListSmall.Height + 10; 215 219 end; 216 220 ToolBar1.Visible := AToolBarVisible.Checked;
Note:
See TracChangeset
for help on using the changeset viewer.