Skip to content

Commit

Permalink
Fix size of directly viewed webpage
Browse files Browse the repository at this point in the history
Default was 0:0, so the plasmoid was blank.
Now, it fills the plasmoid space on the desktop.
  • Loading branch information
Cqoicebordel committed Jan 3, 2025
1 parent 5642589 commit 8be967d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cqcb.plasma.webslice/contents/ui/main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ Item {

backgroundColor: backgroundColorWhite?"white":(backgroundColorTransparent?"transparent":(backgroundColorTheme?theme.viewBackgroundColor:(backgroundColorCustom?customBackgroundColor:"black")))

width: (displaySiteBehaviour) ? 0 : webPopupWidth
height: (displaySiteBehaviour) ? 0 : webPopupHeight
width: (displaySiteBehaviour) ? parent.width : webPopupWidth
height: (displaySiteBehaviour) ? parent.height : webPopupHeight

implicitWidth: width
implicitHeight: height
Expand Down

0 comments on commit 8be967d

Please sign in to comment.