Adjusting window titles to fit properly

Because of the large width & height of the Arial font at 18 did the window titles not fit properly. Font has been decreased and made bold for the sake of distinction. Additional has the terrainpainter window's position been corrected (terrainEditor.ed.tscript)
This commit is contained in:
Nils Eikelenboom 2024-09-12 18:16:25 +02:00
parent f38352501d
commit dffb557930
40 changed files with 66 additions and 74 deletions

View file

@ -23,7 +23,7 @@ $guiContent = new GuiControl(EditorSettingsWindow,EditorGuiGroup) {
canMaximize = "0";
minSize = "50 50";
EdgeSnap = "1";
text = ":: Editor Settings";
text = ":: Editor Settings";
closeCommand = "ESettingsWindow.hideDialog();";
Margin = "0 0 0 0";
Padding = "0 0 0 0";

View file

@ -29,7 +29,7 @@ $guiContent = new GuiControl(ManageBookmarksContainer, EditorGuiGroup) {
position = "50 90";
extent = "180 306";
MinExtent = "120 130";
text = ":: Camera Bookmark Manager";
text = ":: Camera Bookmark Manager";
closeCommand = "EManageBookmarks.hideDialog();";
EdgeSnap = "0";
canCollapse = "0";

View file

@ -27,7 +27,7 @@ $guiContent = new GuiControl(ManageSFXParametersContainer,EditorGuiGroup) {
minSize = "50 50";
closeCommand = "EManageSFXParameters.setVisible( false );";
EdgeSnap = "0";
text = ":: Audio Parameters";
text = ":: Audio Parameters";
Margin = "5 5 5 5";
Padding = "5 5 5 5";
AnchorTop = "1";

View file

@ -30,7 +30,7 @@ $guiContent = new GuiControl(ObjectSnapOptionsContainer, EditorGuiGroup) {
position = "400 31";
extent =" 175 267";
MinExtent = "175 130";
text = ":: Snap Options";
text = ":: Snap Options";
closeCommand = "ESnapOptions.hideDialog();";
EdgeSnap = "0";
canCollapse = "0";

View file

@ -47,7 +47,7 @@ $guiContent = new GuiControl(TerrainPainterContainer,EditorGuiGroup) {
minSize = "300 160";
closeCommand = "EPainter.parentGroup.setVisible(false);";
EdgeSnap = "1";
text = ":: Terrain Painter - Preview";
text = ":: Terrain Painter - Preview";
new GuiContainer(EPainterPreviewCont){
Docking = "Client";
@ -293,7 +293,7 @@ $guiContent = new GuiControl(TerrainPainterContainer,EditorGuiGroup) {
minSize = "152 300";
closeCommand = "EPainter.parentGroup.setVisible(false);";
EdgeSnap = "1";
text = ":: Terrain Painter - Selector";
text = ":: Terrain Painter - Selector";
new GuiScrollCtrl( EPainterScroll ) {
canSaveDynamicFields = "0";

View file

@ -44,7 +44,7 @@ $guiContent = new GuiControl() {
closeCommand = "EWInspectorWindow.setVisible(false);";
minSize = "50 50";
EdgeSnap = "1";
text = ":: World Editor - Inspector";
text = ":: World Editor - Inspector";
new GuiContainer(EWInspectorContainer) {
canSaveDynamicFields = "0";

View file

@ -44,7 +44,7 @@ $guiContent = new GuiControl() {
minSize = "50 50";
closeCommand = "EWTreeWindow.setVisible(false);";
EdgeSnap = "1";
text = ":: World Edior - Scene Tree";
text = ":: World Edior - Scene Tree";
new GuiTabBookCtrl(EditorTreeTabBook) {
canSaveDynamicFields = "0";

View file

@ -46,7 +46,7 @@ $guiContent = new GuiControl(TerrainImportGui, EditorGuiGroup) {
minSize = "4 4";
closeCommand = "Canvas.popDialog( TerrainImportGui );";
EdgeSnap = "0";
text = ":: Import Terrain Height Map";
text = ":: Import Terrain Height Map";
new GuiTextEditCtrl() {
canSaveDynamicFields = "0";

View file

@ -7,7 +7,7 @@ $guiContent = new GuiControl(TerrainMaterialDlg,EditorGuiGroup) {
canSaveDynamicFields = "1";
new GuiWindowCtrl() {
text = ":: Terrain Materials Editor";
text = ":: Terrain Materials Editor";
resizeWidth = "0";
canMinimize = "0";
canMaximize = "0";

View file

@ -596,7 +596,7 @@ function TerrainPainterContainer::maxSize(%this, %window)
%fixedWindow = EPainterPreview;
%fluidWindow = EPainter;
%top = EditorGuiToolbar.extent.y + 6 - 7;
%top = EditorGuiToolbar.extent.y + 6 - 7 + 24;
%bottom = %top + 65 - 6;
%maxHeight = Canvas.extent.y - %top - %bottom;