From 4634fcf90df8762d77ecae70bf0abfff303945d9 Mon Sep 17 00:00:00 2001 From: Zevenberge Date: Thu, 7 Dec 2017 21:36:09 +0100 Subject: [PATCH] Scaled the screen a bit better --- src/dlangide/ui/newfolder.d | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/dlangide/ui/newfolder.d b/src/dlangide/ui/newfolder.d index 8fbfd5c..1cfd53b 100644 --- a/src/dlangide/ui/newfolder.d +++ b/src/dlangide/ui/newfolder.d @@ -29,7 +29,8 @@ class NewFolderDialog : Dialog { this(IDEFrame parent, Project currentProject, ProjectFolder folder) { super(UIString.fromId("OPTION_NEW_SOURCE_FILE"c), parent.window, - DialogFlag.Modal | DialogFlag.Resizable | DialogFlag.Popup, 500, 400); + DialogFlag.Modal | DialogFlag.Resizable | DialogFlag.Popup, 800, 0); + layoutWidth = FILL_PARENT; _ide = parent; _icon = "dlangui-logo1"; this._project = currentProject; @@ -50,7 +51,7 @@ class NewFolderDialog : Dialog { VerticalLayout { id: vlayout padding: Rect { 5, 5, 5, 5 } - layoutWidth: fill; layoutHeight: fill + layoutWidth: fill; layoutHeight: wrap TableLayout { margins: 5 colCount: 2 @@ -58,7 +59,7 @@ class NewFolderDialog : Dialog { TextWidget { text: NAME } EditLine { id: edName; text: "newfolder"; layoutWidth: fill } TextWidget { text: OPTION_FILE_PATH } - EditLine { id: edFilePath; text: ""; layoutWidth: fill; readOnly: true } + EditLine { id: edFilePath; text: ""; layoutWidth: wrap; readOnly: true } } TextWidget { id: statusText; text: ""; layoutWidth: fill; textColor: #FF0000 } }