Skip to content

Commit 7c7e2f3

Browse files
committed
refactor/organicao-das-units
1 parent 9c65580 commit 7c7e2f3

2 files changed

Lines changed: 16 additions & 33 deletions

File tree

Samples/Chat/Src/View.Main.dfm

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,6 @@ object ViewMain: TViewMain
2222
ActivePage = tabChat
2323
Align = alClient
2424
TabOrder = 0
25-
ExplicitLeft = 160
26-
ExplicitTop = 128
27-
ExplicitWidth = 617
28-
ExplicitHeight = 422
2925
object tabAPIKeys: TTabSheet
3026
Caption = 'API Keys'
3127
object pnAPIKeysBack: TPanel
@@ -37,10 +33,6 @@ object ViewMain: TViewMain
3733
BevelOuter = bvNone
3834
ParentBackground = False
3935
TabOrder = 0
40-
ExplicitLeft = 72
41-
ExplicitTop = 396
42-
ExplicitWidth = 401
43-
ExplicitHeight = 129
4436
object Label2: TLabel
4537
Left = 16
4638
Top = 19
@@ -186,7 +178,6 @@ object ViewMain: TViewMain
186178
Height = 65
187179
Align = alTop
188180
TabOrder = 0
189-
ExplicitTop = -5
190181
object Label1: TLabel
191182
Left = 18
192183
Top = 7
@@ -262,8 +253,6 @@ object ViewMain: TViewMain
262253
Align = alTop
263254
Caption = 'pnBoth'
264255
TabOrder = 1
265-
ExplicitTop = 0
266-
ExplicitWidth = 823
267256
object gBoxQuestion: TGroupBox
268257
Left = 1
269258
Top = 1
@@ -275,7 +264,6 @@ object ViewMain: TViewMain
275264
Padding.Right = 1
276265
Padding.Bottom = 1
277266
TabOrder = 0
278-
ExplicitWidth = 821
279267
object mmQuestion: TMemo
280268
Left = 3
281269
Top = 17
@@ -286,7 +274,6 @@ object ViewMain: TViewMain
286274
Lines.Strings = (
287275
'Ol'#225' quem '#233' voc'#234' e quem '#233' o seu fabricante?')
288276
TabOrder = 0
289-
ExplicitLeft = 2
290277
end
291278
end
292279
object Panel1: TPanel
@@ -299,9 +286,6 @@ object ViewMain: TViewMain
299286
Padding.Right = 2
300287
Padding.Bottom = 2
301288
TabOrder = 1
302-
ExplicitLeft = 3
303-
ExplicitTop = 138
304-
ExplicitWidth = 813
305289
object btnExecute: TBitBtn
306290
Left = 1
307291
Top = 3
@@ -311,8 +295,6 @@ object ViewMain: TViewMain
311295
Caption = 'Execute'
312296
TabOrder = 0
313297
OnClick = btnExecuteClick
314-
ExplicitLeft = -2
315-
ExplicitTop = 1
316298
end
317299
object ProgressBar1: TProgressBar
318300
AlignWithMargins = True
@@ -330,8 +312,6 @@ object ViewMain: TViewMain
330312
SmoothReverse = True
331313
State = pbsPaused
332314
TabOrder = 1
333-
ExplicitTop = 6
334-
ExplicitHeight = 20
335315
end
336316
end
337317
end
@@ -346,10 +326,6 @@ object ViewMain: TViewMain
346326
Padding.Right = 1
347327
Padding.Bottom = 1
348328
TabOrder = 2
349-
ExplicitLeft = 1
350-
ExplicitTop = 265
351-
ExplicitWidth = 815
352-
ExplicitHeight = 263
353329
object mmResponse: TMemo
354330
Left = 3
355331
Top = 17
@@ -359,8 +335,6 @@ object ViewMain: TViewMain
359335
BorderStyle = bsNone
360336
ScrollBars = ssVertical
361337
TabOrder = 0
362-
ExplicitLeft = 4
363-
ExplicitTop = 13
364338
end
365339
object pnResponseDetails: TPanel
366340
Left = 3
@@ -372,8 +346,6 @@ object ViewMain: TViewMain
372346
BevelKind = bkTile
373347
BevelOuter = bvNone
374348
TabOrder = 1
375-
ExplicitLeft = 4
376-
ExplicitTop = 263
377349
object Label9: TLabel
378350
Left = 174
379351
Top = 0
@@ -385,7 +357,6 @@ object ViewMain: TViewMain
385357
ParentShowHint = False
386358
ShowHint = True
387359
Layout = tlCenter
388-
ExplicitLeft = 173
389360
ExplicitHeight = 15
390361
end
391362
object lbNumTokensResponse: TLabel
@@ -438,7 +409,6 @@ object ViewMain: TViewMain
438409
Align = alLeft
439410
Caption = '-'
440411
Layout = tlCenter
441-
ExplicitLeft = 666
442412
ExplicitHeight = 15
443413
end
444414
object Label12: TLabel

Samples/Chat/Src/View.Main.pas

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,22 @@
33
interface
44

55
uses
6-
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
7-
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, VCL.TMSFNCCustomComponent, VCL.TMSFNCCloudBase,
8-
VCL.TMSFNCCloudAI, Vcl.Buttons, Vcl.ComCtrls;
6+
Winapi.Windows,
7+
Winapi.Messages,
8+
System.SysUtils,
9+
System.Variants,
10+
System.Classes,
11+
Vcl.Graphics,
12+
Vcl.Controls,
13+
Vcl.Forms,
14+
Vcl.Dialogs,
15+
Vcl.StdCtrls,
16+
Vcl.ExtCtrls,
17+
VCL.TMSFNCCustomComponent,
18+
VCL.TMSFNCCloudBase,
19+
VCL.TMSFNCCloudAI,
20+
Vcl.Buttons,
21+
Vcl.ComCtrls;
922

1023
type
1124
TViewMain = class(TForm)

0 commit comments

Comments
 (0)