Align window chrome with Sway title bars
Adds focused title-bar geometry to the window service and updates the Sway backend to derive frame data more reliably (including parent node fallback and content rect tracking for wrapped/floating views). Window chrome positioning now centers against the actual title bar instead of deco offsets, improving alignment. Also refreshes visual sizing/padding for traffic-light controls and Sway titlebar spacing to match the new chrome metrics.
This commit is contained in:
@@ -52,9 +52,9 @@ QtObject {
|
||||
readonly property int topBarHeight: 40
|
||||
readonly property int controlHeight: 28
|
||||
readonly property int searchHeight: 36
|
||||
readonly property int trafficLightSize: 12
|
||||
readonly property int trafficLightSize: 18
|
||||
readonly property int trafficLightGap: 8
|
||||
readonly property int windowChromeInset: 10
|
||||
readonly property int windowChromeInset: 12
|
||||
|
||||
readonly property int fontSize: 13
|
||||
readonly property int fontSizeApp: 12
|
||||
|
||||
Reference in New Issue
Block a user