mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-06-22 21:48:23 +00:00
Fix the tabs so they don't have a double border on the bottom.
This commit is contained in:
parent
d9698436df
commit
cfb45274e0
@ -142,8 +142,27 @@ Dialog {
|
|||||||
}
|
}
|
||||||
background: Rectangle {
|
background: Rectangle {
|
||||||
color: genSettingsButton.checked ? theme.backgroundDarkest : theme.backgroundLight
|
color: genSettingsButton.checked ? theme.backgroundDarkest : theme.backgroundLight
|
||||||
border.color: theme.tabBorder
|
Rectangle {
|
||||||
border.width: 1 ? genSettingsButton.checked : 0
|
anchors.top: parent.top
|
||||||
|
anchors.left: parent.left
|
||||||
|
anchors.right: parent.right
|
||||||
|
height: 1 ? genSettingsButton.checked : 0
|
||||||
|
color: theme.tabBorder
|
||||||
|
}
|
||||||
|
Rectangle {
|
||||||
|
anchors.top: parent.top
|
||||||
|
anchors.bottom: parent.bottom
|
||||||
|
anchors.left: parent.left
|
||||||
|
width: 1 ? genSettingsButton.checked : 0
|
||||||
|
color: theme.tabBorder
|
||||||
|
}
|
||||||
|
Rectangle {
|
||||||
|
anchors.top: parent.top
|
||||||
|
anchors.bottom: parent.bottom
|
||||||
|
anchors.right: parent.right
|
||||||
|
width: 1 ? genSettingsButton.checked : 0
|
||||||
|
color: theme.tabBorder
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Accessible.role: Accessible.Button
|
Accessible.role: Accessible.Button
|
||||||
Accessible.name: qsTr("Generation settings")
|
Accessible.name: qsTr("Generation settings")
|
||||||
@ -160,8 +179,27 @@ Dialog {
|
|||||||
}
|
}
|
||||||
background: Rectangle {
|
background: Rectangle {
|
||||||
color: appSettingsButton.checked ? theme.backgroundDarkest : theme.backgroundLight
|
color: appSettingsButton.checked ? theme.backgroundDarkest : theme.backgroundLight
|
||||||
border.color: theme.tabBorder
|
Rectangle {
|
||||||
border.width: 1 ? appSettingsButton.checked : 0
|
anchors.top: parent.top
|
||||||
|
anchors.left: parent.left
|
||||||
|
anchors.right: parent.right
|
||||||
|
height: 1 ? appSettingsButton.checked : 0
|
||||||
|
color: theme.tabBorder
|
||||||
|
}
|
||||||
|
Rectangle {
|
||||||
|
anchors.top: parent.top
|
||||||
|
anchors.bottom: parent.bottom
|
||||||
|
anchors.left: parent.left
|
||||||
|
width: 1 ? appSettingsButton.checked : 0
|
||||||
|
color: theme.tabBorder
|
||||||
|
}
|
||||||
|
Rectangle {
|
||||||
|
anchors.top: parent.top
|
||||||
|
anchors.bottom: parent.bottom
|
||||||
|
anchors.right: parent.right
|
||||||
|
width: 1 ? appSettingsButton.checked : 0
|
||||||
|
color: theme.tabBorder
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Accessible.role: Accessible.Button
|
Accessible.role: Accessible.Button
|
||||||
Accessible.name: qsTr("Application settings")
|
Accessible.name: qsTr("Application settings")
|
||||||
|
Loading…
Reference in New Issue
Block a user