fixed font resizing
This commit is contained in:
parent
dd17ff43b2
commit
40aec194bd
7 changed files with 101 additions and 69 deletions
|
@ -10,6 +10,7 @@ ScrollView {
|
|||
property Server server
|
||||
property Content content
|
||||
property Post previousPost
|
||||
property int textFontSize: 14
|
||||
|
||||
style: ScrollViewStyle {
|
||||
transientScrollBars: true
|
||||
|
@ -35,7 +36,11 @@ ScrollView {
|
|||
spacing: 1
|
||||
model: item.server.posts
|
||||
|
||||
delegate: PostListItem {}
|
||||
delegate: Component {
|
||||
PostListItem {
|
||||
textFontSize: item.textFontSize
|
||||
}
|
||||
}
|
||||
|
||||
highlightFollowsCurrentItem: false
|
||||
highlight: Component {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue