mirror of https://github.com/buggins/dlangide.git
Scaled the screen a bit better
This commit is contained in:
parent
f4f1a6939c
commit
4634fcf90d
|
@ -29,7 +29,8 @@ class NewFolderDialog : Dialog {
|
||||||
|
|
||||||
this(IDEFrame parent, Project currentProject, ProjectFolder folder) {
|
this(IDEFrame parent, Project currentProject, ProjectFolder folder) {
|
||||||
super(UIString.fromId("OPTION_NEW_SOURCE_FILE"c), parent.window,
|
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;
|
_ide = parent;
|
||||||
_icon = "dlangui-logo1";
|
_icon = "dlangui-logo1";
|
||||||
this._project = currentProject;
|
this._project = currentProject;
|
||||||
|
@ -50,7 +51,7 @@ class NewFolderDialog : Dialog {
|
||||||
VerticalLayout {
|
VerticalLayout {
|
||||||
id: vlayout
|
id: vlayout
|
||||||
padding: Rect { 5, 5, 5, 5 }
|
padding: Rect { 5, 5, 5, 5 }
|
||||||
layoutWidth: fill; layoutHeight: fill
|
layoutWidth: fill; layoutHeight: wrap
|
||||||
TableLayout {
|
TableLayout {
|
||||||
margins: 5
|
margins: 5
|
||||||
colCount: 2
|
colCount: 2
|
||||||
|
@ -58,7 +59,7 @@ class NewFolderDialog : Dialog {
|
||||||
TextWidget { text: NAME }
|
TextWidget { text: NAME }
|
||||||
EditLine { id: edName; text: "newfolder"; layoutWidth: fill }
|
EditLine { id: edName; text: "newfolder"; layoutWidth: fill }
|
||||||
TextWidget { text: OPTION_FILE_PATH }
|
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 }
|
TextWidget { id: statusText; text: ""; layoutWidth: fill; textColor: #FF0000 }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue