Merge pull request #43 from molan-git/ui-improvements

UI improvements
This commit is contained in:
molan-git 2020-05-11 09:10:10 +02:00 committed by GitHub
commit b02063834c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View file

@ -57,10 +57,10 @@ Page {
console.log(playbackState)
switch (playbackState){
case MediaPlayer.PlayingState:
playerIcon.icon.source = "image://theme/icon-m-play"
playerIcon.icon.source = "image://theme/icon-m-pause"
return;
case MediaPlayer.PausedState:
playerIcon.icon.source = "image://theme/icon-m-pause"
playerIcon.icon.source = "image://theme/icon-m-play"
return;
case MediaPlayer.StoppedState:
playerIcon.icon.source = "image://theme/icon-m-stop"

View file

@ -170,7 +170,7 @@ BackgroundItem {
}
text: content
textFormat: Text.StyledText
textFormat: Text.RichText
linkColor : Theme.highlightColor
wrapMode: Text.Wrap
maximumLineCount: 6

View file

@ -145,7 +145,7 @@ BackgroundItem {
text: content.replace(new RegExp("<a ", 'g'), '<a style="text-decoration: none; color:'+(pressed ? Theme.secondaryColor : Theme.highlightColor)+'" ')
linkColor : Theme.highlightColor
wrapMode: Text.WordWrap
textFormat: Text.StyledText
textFormat: Text.RichText
font.pixelSize: Theme.fontSizeSmall
color: (pressed ? Theme.highlightColor : (!highlight ? Theme.primaryColor : Theme.secondaryColor))
Rectangle {