Icons: Plus and Minus
+ removed vertical hack in NIcon
This commit is contained in:
parent
ea6b8e0c02
commit
b91112fc7a
7 changed files with 9 additions and 16 deletions
|
|
@ -3,18 +3,10 @@ import QtQuick.Layouts
|
|||
import qs.Commons
|
||||
import qs.Widgets
|
||||
|
||||
|
||||
Text {
|
||||
// Optional layout nudge for optical alignment when used inside Layouts
|
||||
property real layoutTopMargin: 0
|
||||
text: "\uEE15" // default skull icon
|
||||
text: "\uEE15" // fallback/default to skull icon
|
||||
font.family: "bootstrap-icons"
|
||||
font.pointSize: Style.fontSizeL * scaling
|
||||
font.variableAxes: {
|
||||
"wght"// slightly bold to ensure all lines looks good
|
||||
: (Font.Normal + Font.Bold) / 2.5
|
||||
}
|
||||
color: Color.mOnSurface
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
Layout.topMargin: layoutTopMargin
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue