Commit bfcdc783 authored by Gus Grubba's avatar Gus Grubba

Merge pull request #2652 from dogmaphobic/logDownloadSize

Set initial size for log download.
parents 550bac9a ef6033ce
...@@ -28,6 +28,7 @@ LogDownload::LogDownload(const QString& title, QAction* action, QWidget *parent) ...@@ -28,6 +28,7 @@ LogDownload::LogDownload(const QString& title, QAction* action, QWidget *parent)
{ {
Q_UNUSED(title); Q_UNUSED(title);
Q_UNUSED(action); Q_UNUSED(action);
resize(800, 600);
setSource(QUrl::fromUserInput("qrc:/qml/LogDownload.qml")); setSource(QUrl::fromUserInput("qrc:/qml/LogDownload.qml"));
loadSettings(); loadSettings();
} }
...@@ -72,7 +72,7 @@ QGCView { ...@@ -72,7 +72,7 @@ QGCView {
TableViewColumn { TableViewColumn {
title: "Id" title: "Id"
width: ScreenTools.defaultFontPixelWidth * 4 width: ScreenTools.defaultFontPixelWidth * 6
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter
delegate : Text { delegate : Text {
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter
...@@ -85,7 +85,7 @@ QGCView { ...@@ -85,7 +85,7 @@ QGCView {
TableViewColumn { TableViewColumn {
title: "Date" title: "Date"
width: ScreenTools.defaultFontPixelWidth * 30 width: ScreenTools.defaultFontPixelWidth * 34
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter
delegate : Text { delegate : Text {
text: { text: {
...@@ -107,7 +107,7 @@ QGCView { ...@@ -107,7 +107,7 @@ QGCView {
TableViewColumn { TableViewColumn {
title: "Size" title: "Size"
width: ScreenTools.defaultFontPixelWidth * 12 width: ScreenTools.defaultFontPixelWidth * 18
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter
delegate : Text { delegate : Text {
horizontalAlignment: Text.AlignRight horizontalAlignment: Text.AlignRight
...@@ -120,7 +120,7 @@ QGCView { ...@@ -120,7 +120,7 @@ QGCView {
TableViewColumn { TableViewColumn {
title: "Status" title: "Status"
width: ScreenTools.defaultFontPixelWidth * 18 width: ScreenTools.defaultFontPixelWidth * 22
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter
delegate : Text { delegate : Text {
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment