better sizes
This commit is contained in:
parent
6c0bf60e07
commit
927474261e
4 changed files with 14 additions and 9 deletions
|
@ -1,12 +1,10 @@
|
||||||
import QtQuick 2.0
|
import QtQuick 2.0
|
||||||
import QtQuick.Controls 1.3
|
import QtQuick.Controls 1.3
|
||||||
import QtQuick.Layouts 1.1
|
|
||||||
import QtQuick.Controls.Styles 1.3
|
import QtQuick.Controls.Styles 1.3
|
||||||
import TTRSS 1.0
|
import TTRSS 1.0
|
||||||
|
|
||||||
ScrollView {
|
ScrollView {
|
||||||
property Post post
|
property Post post
|
||||||
Layout.minimumWidth: 400
|
|
||||||
|
|
||||||
style: ScrollViewStyle {
|
style: ScrollViewStyle {
|
||||||
transientScrollBars: true
|
transientScrollBars: true
|
||||||
|
|
|
@ -54,7 +54,7 @@ Component {
|
||||||
Label {
|
Label {
|
||||||
text: excerpt
|
text: excerpt
|
||||||
font.pointSize: 12
|
font.pointSize: 12
|
||||||
textFormat: Text.PlainText
|
textFormat: Text.RichText
|
||||||
color: "gray"
|
color: "gray"
|
||||||
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
|
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
|
||||||
renderType: Text.NativeRendering
|
renderType: Text.NativeRendering
|
||||||
|
|
|
@ -26,8 +26,6 @@ ScrollView {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Layout.minimumWidth: 400
|
|
||||||
|
|
||||||
ListView {
|
ListView {
|
||||||
id: listView
|
id: listView
|
||||||
|
|
||||||
|
|
17
main.qml
17
main.qml
|
@ -5,9 +5,14 @@ import TTRSS 1.0
|
||||||
|
|
||||||
ApplicationWindow {
|
ApplicationWindow {
|
||||||
id: window
|
id: window
|
||||||
|
title: "FeedMonkey"
|
||||||
|
|
||||||
visible: true
|
visible: true
|
||||||
width: 1024
|
|
||||||
height: 800
|
contentItem.minimumWidth: 640
|
||||||
|
contentItem.minimumHeight: 480
|
||||||
|
contentItem.implicitWidth: 1024
|
||||||
|
contentItem.implicitHeight: 800
|
||||||
|
|
||||||
menuBar: TheMenuBar {
|
menuBar: TheMenuBar {
|
||||||
id: menu
|
id: menu
|
||||||
|
@ -30,12 +35,16 @@ ApplicationWindow {
|
||||||
id: sidebar
|
id: sidebar
|
||||||
server: server
|
server: server
|
||||||
content: content
|
content: content
|
||||||
|
|
||||||
|
Layout.minimumWidth: 200
|
||||||
|
implicitWidth: 300
|
||||||
}
|
}
|
||||||
|
|
||||||
Content {
|
Content {
|
||||||
id: content
|
id: content
|
||||||
Layout.minimumWidth: 50
|
|
||||||
Layout.fillWidth: true
|
Layout.minimumWidth: 200
|
||||||
|
implicitWidth: 624
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue