new project, new file dialogs layout fixed

This commit is contained in:
Vadim Lopatin 2016-01-18 11:49:14 +03:00
parent 7eda97f4e4
commit 6b6c9c20b3
2 changed files with 5 additions and 5 deletions

View File

@ -66,7 +66,7 @@ class NewFileDlg : Dialog {
layoutWidth: fill; layoutHeight: fill layoutWidth: fill; layoutHeight: fill
VerticalLayout { VerticalLayout {
margins: 5 margins: 5
layoutWidth: wrap; layoutHeight: fill layoutWidth: 50%; layoutHeight: fill
TextWidget { text: "Project template" } TextWidget { text: "Project template" }
StringListWidget { StringListWidget {
id: projectTemplateList id: projectTemplateList
@ -75,7 +75,7 @@ class NewFileDlg : Dialog {
} }
VerticalLayout { VerticalLayout {
margins: 5 margins: 5
layoutWidth: fill; layoutHeight: fill layoutWidth: 50%; layoutHeight: fill
TextWidget { text: "Template description" } TextWidget { text: "Template description" }
EditBox { EditBox {
id: templateDescription; readOnly: true id: templateDescription; readOnly: true

View File

@ -61,7 +61,7 @@ class NewProjectDlg : Dialog {
layoutWidth: fill; layoutHeight: fill layoutWidth: fill; layoutHeight: fill
VerticalLayout { VerticalLayout {
margins: 5 margins: 5
layoutWidth: wrap; layoutHeight: fill layoutWidth: 25%; layoutHeight: fill
TextWidget { text: "Project template" } TextWidget { text: "Project template" }
StringListWidget { StringListWidget {
id: projectTemplateList id: projectTemplateList
@ -70,7 +70,7 @@ class NewProjectDlg : Dialog {
} }
VerticalLayout { VerticalLayout {
margins: 5 margins: 5
layoutWidth: fill; layoutHeight: fill layoutWidth: 40%; layoutHeight: fill
TextWidget { text: "Template description" } TextWidget { text: "Template description" }
EditBox { EditBox {
id: templateDescription; readOnly: true id: templateDescription; readOnly: true
@ -78,7 +78,7 @@ class NewProjectDlg : Dialog {
} }
} }
VerticalLayout { VerticalLayout {
layoutWidth: fill; layoutHeight: fill layoutWidth: 35%; layoutHeight: fill
margins: 5 margins: 5
TextWidget { text: "Directory layout" } TextWidget { text: "Directory layout" }
EditBox { EditBox {