D27189: Created a top area based on widgets/toparea.svg

Niccolò Venerandi noreply at phabricator.kde.org
Thu Feb 6 17:51:21 GMT 2020


niccolove added a comment.


  In D27189#606914 <https://phabricator.kde.org/D27189#606914>, @ngraham wrote:
  
  > Yeah, so you'll want to submit a plasma-frameworks patch which includes the new SVG and mark this as depending on it.
  
  
  Okay
  
  > The reason why the text is now pushed over is because you added the new `PlasmaCore.FrameSvgItem` *inside* the `RowLayout` that contains the `Heading`. If anything the reverse should be true; the `RowLayout` should be inside the new header SVG.
  
  That can't be done as far as I know - elements are not displayed correctly when inside. Or maybe it's because I should use Layouts better?
  
  > Also you can't set anchors on an item inside a Layout; it causes binding loops. Anchors are only for positioning items that are outside of Layouts. Items inside Layouts get positioned using properties like `Layout.fillWidth, `Layout.Alignment`, `Layout.maximumWidth`, and so on.
  
  I'd do that, but as far as I know Layout does not support the negative margin I need to expand the area to the borders :-/

REPOSITORY
  R120 Plasma Workspace

REVISION DETAIL
  https://phabricator.kde.org/D27189

To: niccolove, #vdg, #plasma, ngraham
Cc: ngraham, ndavis, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200206/0caa9bf2/attachment-0001.html>


More information about the Plasma-devel mailing list