summaryrefslogtreecommitdiff
path: root/examples/apps
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2010-09-21 11:13:12 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2010-09-21 11:13:12 +0200
commit8ef6fde2723bbb6120ef2b914027971593635030 (patch)
treeadd6a271d9b594b6ee4e55e6e1d9966374005fa5 /examples/apps
parent50a32e0bd43c5343708c61a61c3ac95b7bc20dcc (diff)
downloadfpGUI-8ef6fde2723bbb6120ef2b914027971593635030.tar.xz
debug server: improved the look of the toolbar
Diffstat (limited to 'examples/apps')
-rw-r--r--examples/apps/debugserver/fpgDebugServer.lpr3
-rw-r--r--examples/apps/debugserver/frm_main.pas17
2 files changed, 12 insertions, 8 deletions
diff --git a/examples/apps/debugserver/fpgDebugServer.lpr b/examples/apps/debugserver/fpgDebugServer.lpr
index eaf9492b..4f317c12 100644
--- a/examples/apps/debugserver/fpgDebugServer.lpr
+++ b/examples/apps/debugserver/fpgDebugServer.lpr
@@ -7,7 +7,8 @@ uses
cthreads,
{$ENDIF}{$ENDIF}
Classes
- ,fpg_main, frm_main
+ ,fpg_main
+ ,frm_main
;
procedure MainProc;
diff --git a/examples/apps/debugserver/frm_main.pas b/examples/apps/debugserver/frm_main.pas
index e0da08a7..005fc8dc 100644
--- a/examples/apps/debugserver/frm_main.pas
+++ b/examples/apps/debugserver/frm_main.pas
@@ -312,7 +312,7 @@ begin
with MainMenu do
begin
Name := 'MainMenu';
- SetPosition(0, 0, 486, 26);
+ SetPosition(0, 0, 486, 21);
Anchors := [anLeft,anRight,anTop];
end;
@@ -320,7 +320,7 @@ begin
with Bevel1 do
begin
Name := 'Bevel1';
- SetPosition(0, 26, 486, 31);
+ SetPosition(0, 21, 486, 30);
Anchors := [anLeft,anRight,anTop];
Hint := '';
Style := bsLowered;
@@ -331,7 +331,7 @@ begin
with grdMessages do
begin
Name := 'grdMessages';
- SetPosition(4, 63, 478, 246);
+ SetPosition(4, 55, 478, 254);
Anchors := [anLeft,anRight,anTop,anBottom];
AddColumn('Type', 50, taLeftJustify);
AddColumn('Time', 75, taCenter);
@@ -380,7 +380,7 @@ begin
with btnQuit do
begin
Name := 'btnQuit';
- SetPosition(4, 2, 25, 25);
+ SetPosition(4, 2, 24, 24);
Text := '';
Flat := True;
FontDesc := '#Label1';
@@ -407,7 +407,7 @@ begin
with btnPause do
begin
Name := 'btnPause';
- SetPosition(43, 2, 25, 25);
+ SetPosition(43, 2, 24, 24);
Text := '';
AllowAllUp := True;
Flat := True;
@@ -416,6 +416,7 @@ begin
Hint := 'pause server';
ImageMargin := -1;
ImageName := 'dbs.pause';
+ ImageSpacing := 0;
TabOrder := 2;
Focusable := False;
OnClick :=@btnPauseClicked;
@@ -425,13 +426,14 @@ begin
with btnStart do
begin
Name := 'btnStart';
- SetPosition(70, 2, 25, 25);
+ SetPosition(67, 2, 24, 24);
Text := '';
Flat := True;
FontDesc := '#Label1';
Hint := 'start server';
ImageMargin := -1;
ImageName := 'dbs.run';
+ ImageSpacing := 0;
TabOrder := 2;
Focusable := False;
OnClick := @btnStartClicked;
@@ -442,13 +444,14 @@ begin
with btnClear do
begin
Name := 'btnClear';
- SetPosition(97, 2, 25, 25);
+ SetPosition(91, 2, 24, 24);
Text := '';
Flat := True;
FontDesc := '#Label1';
Hint := 'clear listview';
ImageMargin := -1;
ImageName := 'dbs.clean';
+ ImageSpacing := 0;
TabOrder := 2;
Focusable := False;
OnClick :=@btnClearClicked;