From 6b6c9c20b35d9c096cb209d094915d3a0a458465 Mon Sep 17 00:00:00 2001 From: Vadim Lopatin Date: Mon, 18 Jan 2016 11:49:14 +0300 Subject: [PATCH] new project, new file dialogs layout fixed --- src/dlangide/ui/newfile.d | 4 ++-- src/dlangide/ui/newproject.d | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/dlangide/ui/newfile.d b/src/dlangide/ui/newfile.d index 47f0773..4551f62 100644 --- a/src/dlangide/ui/newfile.d +++ b/src/dlangide/ui/newfile.d @@ -66,7 +66,7 @@ class NewFileDlg : Dialog { layoutWidth: fill; layoutHeight: fill VerticalLayout { margins: 5 - layoutWidth: wrap; layoutHeight: fill + layoutWidth: 50%; layoutHeight: fill TextWidget { text: "Project template" } StringListWidget { id: projectTemplateList @@ -75,7 +75,7 @@ class NewFileDlg : Dialog { } VerticalLayout { margins: 5 - layoutWidth: fill; layoutHeight: fill + layoutWidth: 50%; layoutHeight: fill TextWidget { text: "Template description" } EditBox { id: templateDescription; readOnly: true diff --git a/src/dlangide/ui/newproject.d b/src/dlangide/ui/newproject.d index d9ad554..69053db 100644 --- a/src/dlangide/ui/newproject.d +++ b/src/dlangide/ui/newproject.d @@ -61,7 +61,7 @@ class NewProjectDlg : Dialog { layoutWidth: fill; layoutHeight: fill VerticalLayout { margins: 5 - layoutWidth: wrap; layoutHeight: fill + layoutWidth: 25%; layoutHeight: fill TextWidget { text: "Project template" } StringListWidget { id: projectTemplateList @@ -70,7 +70,7 @@ class NewProjectDlg : Dialog { } VerticalLayout { margins: 5 - layoutWidth: fill; layoutHeight: fill + layoutWidth: 40%; layoutHeight: fill TextWidget { text: "Template description" } EditBox { id: templateDescription; readOnly: true @@ -78,7 +78,7 @@ class NewProjectDlg : Dialog { } } VerticalLayout { - layoutWidth: fill; layoutHeight: fill + layoutWidth: 35%; layoutHeight: fill margins: 5 TextWidget { text: "Directory layout" } EditBox {