mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
Clipping: removed many unecessary clip: true
This commit is contained in:
@@ -108,7 +108,6 @@ PopupWindow {
|
||||
anchors.margins: Style.marginS * scaling
|
||||
contentHeight: columnLayout.implicitHeight
|
||||
interactive: true
|
||||
clip: true
|
||||
|
||||
// Use a ColumnLayout to handle menu item arrangement
|
||||
ColumnLayout {
|
||||
|
||||
@@ -136,7 +136,6 @@ NBox {
|
||||
height: 90 * scaling
|
||||
radius: width * 0.5
|
||||
color: trackArt.visible ? Color.mPrimary : Color.transparent
|
||||
clip: true
|
||||
|
||||
// Can't use fallback icon here, as we have a big disc behind
|
||||
NImageCircled {
|
||||
|
||||
@@ -305,11 +305,8 @@ NPanel {
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
spacing: Style.marginXXS * scaling
|
||||
|
||||
model: results
|
||||
currentIndex: selectedIndex
|
||||
|
||||
clip: true
|
||||
cacheBuffer: resultsList.height * 2
|
||||
onCurrentIndexChanged: {
|
||||
cancelFlick()
|
||||
@@ -387,7 +384,6 @@ NPanel {
|
||||
Layout.preferredHeight: badgeSize
|
||||
radius: Style.radiusM * scaling
|
||||
color: Color.mSurfaceVariant
|
||||
clip: true
|
||||
|
||||
// Image preview for clipboard images
|
||||
NImageRounded {
|
||||
|
||||
@@ -184,7 +184,6 @@ Variants {
|
||||
Layout.preferredHeight: notificationLayout.implicitHeight + (Style.marginL * 2 * cardScaling)
|
||||
Layout.maximumHeight: Layout.preferredHeight
|
||||
|
||||
clip: true
|
||||
radius: Style.radiusL * cardScaling
|
||||
border.color: Color.mOutline
|
||||
border.width: Math.max(1, Style.borderS * cardScaling)
|
||||
|
||||
@@ -438,7 +438,6 @@ NPanel {
|
||||
color: Color.mSurfaceVariant
|
||||
border.color: Color.mOutline
|
||||
border.width: Math.max(1, Style.borderS * scaling)
|
||||
clip: true
|
||||
|
||||
ColumnLayout {
|
||||
id: contentLayout
|
||||
@@ -518,8 +517,6 @@ NPanel {
|
||||
horizontalPolicy: ScrollBar.AlwaysOff
|
||||
verticalPolicy: ScrollBar.AsNeeded
|
||||
padding: Style.marginL * scaling
|
||||
clip: true
|
||||
|
||||
Component.onCompleted: {
|
||||
root.activeScrollView = scrollView
|
||||
}
|
||||
|
||||
@@ -113,7 +113,6 @@ ColumnLayout {
|
||||
cellWidth: Style.baseWidgetSize * 7 * scaling
|
||||
cellHeight: Style.baseWidgetSize * 3 * scaling
|
||||
model: root.contributors
|
||||
clip: true
|
||||
|
||||
delegate: Rectangle {
|
||||
width: contributorsGrid.cellWidth - Style.marginM * scaling
|
||||
|
||||
Reference in New Issue
Block a user