Fix Notification scaling
This commit is contained in:
parent
a127696f35
commit
1dcc42ef19
1 changed files with 4 additions and 4 deletions
|
|
@ -143,7 +143,7 @@ PanelWindow {
|
||||||
NText {
|
NText {
|
||||||
text: (model.appName || model.desktopEntry) || "Unknown App"
|
text: (model.appName || model.desktopEntry) || "Unknown App"
|
||||||
color: Colors.accentSecondary
|
color: Colors.accentSecondary
|
||||||
font.pointSize: Style.fontSizeSmall
|
font.pointSize: Style.fontSizeSmall * scaling
|
||||||
}
|
}
|
||||||
Rectangle {
|
Rectangle {
|
||||||
width: 6 * scaling
|
width: 6 * scaling
|
||||||
|
|
@ -158,13 +158,13 @@ PanelWindow {
|
||||||
NText {
|
NText {
|
||||||
text: notificationService.formatTimestamp(model.timestamp)
|
text: notificationService.formatTimestamp(model.timestamp)
|
||||||
color: Colors.textSecondary
|
color: Colors.textSecondary
|
||||||
font.pointSize: Style.fontSizeSmall
|
font.pointSize: Style.fontSizeSmall * scaling
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
NText {
|
NText {
|
||||||
text: model.summary || "No summary"
|
text: model.summary || "No summary"
|
||||||
font.pointSize: Style.fontSizeLarge
|
font.pointSize: Style.fontSizeLarge * scaling
|
||||||
font.weight: Style.fontWeightBold
|
font.weight: Style.fontWeightBold
|
||||||
color: Colors.textPrimary
|
color: Colors.textPrimary
|
||||||
wrapMode: Text.Wrap
|
wrapMode: Text.Wrap
|
||||||
|
|
@ -175,7 +175,7 @@ PanelWindow {
|
||||||
|
|
||||||
NText {
|
NText {
|
||||||
text: model.body || ""
|
text: model.body || ""
|
||||||
font.pointSize: Style.fontSizeSmall
|
font.pointSize: Style.fontSizeSmall * scaling
|
||||||
color: Colors.textSecondary
|
color: Colors.textSecondary
|
||||||
wrapMode: Text.Wrap
|
wrapMode: Text.Wrap
|
||||||
width: 300 * scaling
|
width: 300 * scaling
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue