D27444: Added top area
Marco Martin
noreply at phabricator.kde.org
Thu Feb 20 18:31:56 GMT 2020
mart added a comment.
some considerations:
- this toparea will need to "overflow" its parent for the exact distance needed to perfectly fuse with the background, and has to work with both dialogs and widgets-on-desktop (so we're kinda assuming those 2 backgrounds have the exact same shape) for this reason also fallback should be disabled and be used only in themes that directly provide it.
- we need 2 margins here: how much we want to overflow, which i would say should be the actual framesvg margins, so one doesn't have to *ever* access the dialog instance or the applet background, and the margins we want to actually use as padding for its contents. we can decide either to put both as hints in the svg, or to use units.smallspacing as padding for the contents and be happy with it
- i would provide one single svg with top and bottom areas so one can use something like that as a footer as well (and probably a frame that has nothing rounded)
- if you have a top panel the top won't be rounded, we need a way to know this.. perhaps with plasmoid.location... not sure yet
REPOSITORY
R242 Plasma Framework (Library)
REVISION DETAIL
https://phabricator.kde.org/D27444
To: niccolove, #vdg, ngraham, ndavis
Cc: mart, kde-frameworks-devel, LeGast00n, cblack, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200220/c133c1d0/attachment.html>
More information about the Kde-frameworks-devel
mailing list