mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
QML-UI: add more properties to Units and Theme
- colors for accentuation (background and text) - text color to paint on highlights - units.spacing (derived from gridUnit, so it's dpi-corrected) - port main.qml, especially the application header to this theming and sizing Signed-off-by: Sebastian Kügler <sebas@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
431b5e07fe
commit
77fa4e37c8
3 changed files with 19 additions and 19 deletions
|
@ -2,4 +2,5 @@ import QtQuick 2.3
|
|||
|
||||
QtObject {
|
||||
property int gridUnit: 24
|
||||
property int spacing: gridUnit / 3
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue