scale editor status bar, fix proj inspector tree icons width, scale syncedit icon, close #151

This commit is contained in:
Basile Burg 2018-01-22 01:32:23 +01:00
parent b1084e3e81
commit c3db2cfcfa
3 changed files with 13 additions and 5 deletions

View File

@ -306,7 +306,7 @@ begin
inherited;
toolbarVisible:=false;
fDetectModuleName:=true;
//
pageControl := TCEPageControl.Create(self);
pageControl.Parent := Content;
pageControl.align := alClient;
@ -407,6 +407,12 @@ begin
end;
end;
editorStatus.Panels[0].Width := ScaleX(115, 96);
editorStatus.Panels[1].Width := ScaleX(85, 96);
editorStatus.Panels[2].Width := ScaleX(125, 96);
editorStatus.Panels[3].Width := ScaleX(105, 96);
editorStatus.Panels[4].Width := ScaleX(2000, 96);
fTokList := TLexTokenList.Create;
EntitiesConnector.addObserver(self);

View File

@ -121,9 +121,9 @@ begin
end;
iss32:
begin
fImages.Width := 24;
fImages.Height := 24;
Tree.Indent := 24;
fImages.Width := 32;
fImages.Height := 32;
Tree.Indent := 32;
fImages.AddResourceName(HINSTANCE, 'DOCUMENT_ALL32');
fImages.AddResourceName(HINSTANCE, 'WRENCH32');
fImages.AddResourceName(HINSTANCE, 'PAGE_TEXT32');

View File

@ -869,7 +869,6 @@ begin
fSyncEdit := TSynPluginSyncroEdit.Create(self);
fSyncEdit.Editor := self;
fSyncEdit.CaseSensitive := true;
AssignPng(fSyncEdit.GutterGlyph, 'LINK_EDIT');
fCompletion := TSyncompletion.create(nil);
fCompletion.ShowSizeDrag := true;
@ -920,6 +919,7 @@ begin
fImages.AddResourceName(HINSTANCE, 'STEP');
fImages.AddResourceName(HINSTANCE, 'CAMERA_GO');
fImages.AddResourceName(HINSTANCE, 'WARNING');
AssignPng(fSyncEdit.GutterGlyph, 'LINK_EDIT');
end;
iss24:
begin
@ -932,6 +932,7 @@ begin
fImages.AddResourceName(HINSTANCE, 'STEP24');
fImages.AddResourceName(HINSTANCE, 'CAMERA_GO24');
fImages.AddResourceName(HINSTANCE, 'WARNING24');
AssignPng(fSyncEdit.GutterGlyph, 'LINK_EDIT24');
end;
iss32:
begin
@ -944,6 +945,7 @@ begin
fImages.AddResourceName(HINSTANCE, 'STEP32');
fImages.AddResourceName(HINSTANCE, 'CAMERA_GO32');
fImages.AddResourceName(HINSTANCE, 'WARNING32');
AssignPng(fSyncEdit.GutterGlyph, 'LINK_EDIT32');
end;
end;