Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Workspace
Commits
8452e524
Commit
8452e524
authored
May 21, 2020
by
Niccolò Venerandi
Browse files
Make system tray impossible to resize again
parent
58def605
Changes
1
Hide whitespace changes
Inline
Side-by-side
applets/systemtray/package/contents/ui/ExpandedRepresentation.qml
View file @
8452e524
...
...
@@ -25,8 +25,14 @@ import org.kde.plasma.components 3.0 as PlasmaComponents
import
org
.
kde
.
plasma
.
extras
2.0
as
PlasmaExtras
Item
{
width
:
expandedRepresentation
.
width
height
:
expandedRepresentation
.
height
width
:
Layout
.
minimumWidth
height
:
Layout
.
minimumHeight
Layout.minimumWidth
:
units
.
gridUnit
*
24
Layout.minimumHeight
:
units
.
gridUnit
*
21
Layout.preferredWidth
:
Layout
.
minimumWidth
Layout.preferredHeight
:
Layout
.
minimumHeight
Layout.maximumWidth
:
Layout
.
minimumWidth
Layout.maximumHeight
:
Layout
.
minimumHeight
property
alias
activeApplet
:
container
.
activeApplet
property
alias
hiddenLayout
:
hiddenItemsView
.
layout
...
...
@@ -56,14 +62,7 @@ Item {
ColumnLayout
{
id
:
expandedRepresentation
//set width/height to avoid an useless Dialog resize
width
:
Layout
.
minimumWidth
height
:
Layout
.
minimumHeight
Layout.minimumWidth
:
units
.
gridUnit
*
24
Layout.minimumHeight
:
units
.
gridUnit
*
21
Layout.preferredWidth
:
Layout
.
minimumWidth
Layout.preferredHeight
:
Layout
.
minimumHeight
Layout.maximumWidth
:
Layout
.
minimumWidth
Layout.maximumHeight
:
Layout
.
minimumHeight
anchors.fill
:
parent
spacing
:
plasmoidHeading
.
bottomPadding
RowLayout
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment