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 Desktop
Commits
23c4e82c
Commit
23c4e82c
authored
May 27, 2022
by
Luca Carlon
Committed by
Nate Graham
May 27, 2022
Browse files
Make widget popups resizable
See the discussion in
frameworks/plasma-framework!500
.
BUG: 411462
BUG: 332512
parent
38bf92fc
Pipeline
#181637
passed with stage
in 5 minutes and 54 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
applets/kickoff/package/contents/ui/FullRepresentation.qml
View file @
23c4e82c
...
...
@@ -13,6 +13,7 @@ import QtQuick 2.15
import
QtQuick
.
Templates
2.15
as
T
import
QtQuick
.
Layouts
1.15
import
QtQml
2.15
import
org
.
kde
.
plasma
.
plasmoid
2.0
import
org
.
kde
.
plasma
.
core
2.0
as
PlasmaCore
import
org
.
kde
.
plasma
.
private
.
kicker
0.1
as
Kicker
...
...
@@ -24,9 +25,12 @@ EmptyPage {
rightPadding
:
-
plasmoid
.
rootItem
.
backgroundMetrics
.
rightPadding
topPadding
:
0
bottomPadding
:
-
plasmoid
.
rootItem
.
backgroundMetrics
.
bottomPadding
readonly
property
var
appletInterface
:
plasmoid
.
self
Layout.minimumWidth
:
implicitWidth
Layout.maximumWidth
:
PlasmaCore
.
Units
.
gridUnit
*
80
Layout.minimumHeight
:
implicitHeight
Layout.maximumHeight
:
PlasmaCore
.
Units
.
gridUnit
*
40
/* NOTE: Important things to know about keyboard input handling:
*
...
...
desktoppackage/contents/applet/CompactApplet.qml
View file @
23c4e82c
...
...
@@ -206,6 +206,12 @@ PlasmaCore.ToolTipArea {
backgroundHints
:
(
plasmoid
.
containmentDisplayHints
&
PlasmaCore
.
Types
.
DesktopFullyCovered
)
?
PlasmaCore
.
Dialog
.
SolidBackground
:
PlasmaCore
.
Dialog
.
StandardBackground
property
var
oldStatus
:
PlasmaCore
.
Types
.
UnknownStatus
appletInterface
:
{
if
(
!
fullRepresentation
||
!
fullRepresentation
.
appletInterface
)
return
null
return
fullRepresentation
.
appletInterface
}
type
:
PlasmaCore
.
Dialog
.
AppletPopup
//It's a MouseEventListener to get all the events, so the eventfilter will be able to catch them
mainItem
:
MouseEventListener
{
...
...
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