D11219: Increase the "Add Source" dialog's width
Nathaniel Graham
noreply at phabricator.kde.org
Mon Mar 12 21:01:35 UTC 2018
ngraham added a comment.
In D11219#223908 <https://phabricator.kde.org/D11219#223908>, @apol wrote:
> I wonder if wit would make sense to make it in terms of the parent size too. Something like: `width: Math.min(gridUnit*20, parent.width * 0.8)`
For some reason `Math.min (Kirigami.Units.gridUnit * 20, parent.width * 0.8)` does not work, and always gives me the value of `Kirigami.Units.gridUnit * 20`, even when I can verify that alone `width: parent.width*0.8` works fine. What's going on here? Is there an Import that we need for `Math.min()`?
REPOSITORY
R134 Discover Software Store
REVISION DETAIL
https://phabricator.kde.org/D11219
To: ngraham, apol, #discover_software_store
Cc: ach, plasma-devel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180312/d005f098/attachment.html>
More information about the Plasma-devel
mailing list