[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: D12252: Enlarge default window size. Use (adjusted) calculation in `SizeHint` to determine minimum w
From: Scott Harvey <noreply () phabricator ! kde ! org>
Date: 2018-04-17 10:21:22
Message-ID: 20180417102122.1.F432888DD10D87A3 () phabricator ! kde ! org
[Download RAW message or body]
sharvey updated this revision to Diff 32368.
sharvey added a comment.
- Add checking & sizing calc for smaller or rotated screens
`availableSize()` returns size minus any size reserved by the window manager for \
taskbars, etc. Multiply by 0.9 to prevent systemsettings from going "full screen" and \
overlapping all other windows.
REPOSITORY
R124 System Settings
CHANGES SINCE LAST UPDATE
https://phabricator.kde.org/D12252?vs=32351&id=32368
BRANCH
enlarge-default-size (branched from master)
REVISION DETAIL
https://phabricator.kde.org/D12252
AFFECTED FILES
app/SettingsBase.cpp
To: sharvey, ngraham, mart
Cc: cfeck, zzag, plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, \
jensreuterberg, abetts, sebas, apol, mart
[Attachment #3 (unknown)]
<table><tr><td style="">sharvey updated this revision to Diff 32368.<br />sharvey \
added a comment. </td><a style="text-decoration: none; padding: 4px 8px; margin: 0 \
8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; \
background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); \
display: inline-block; border: 1px solid rgba(71,87,120,.2);" \
href="https://phabricator.kde.org/D12252">View Revision</a></tr></table><br \
/><div><div><ul class="remarkup-list"> <li class="remarkup-list-item">Add checking \
& sizing calc for smaller or rotated screens</li> </ul>
<p><tt style="background: #ebebeb; font-size: 13px;">availableSize()</tt> returns \
size minus any size reserved by the window manager for taskbars, etc. Multiply by 0.9 \
to prevent systemsettings from going "full screen" and overlapping all \
other windows.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R124 \
System Settings</div></div></div><br /><div><strong>CHANGES SINCE LAST \
UPDATE</strong><div><a \
href="https://phabricator.kde.org/D12252?vs=32351&id=32368">https://phabricator.kde.org/D12252?vs=32351&id=32368</a></div></div><br \
/><div><strong>BRANCH</strong><div><div>enlarge-default-size (branched from \
master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a \
href="https://phabricator.kde.org/D12252">https://phabricator.kde.org/D12252</a></div></div><br \
/><div><strong>AFFECTED \
FILES</strong><div><div>app/SettingsBase.cpp</div></div></div><br /><div><strong>To: \
</strong>sharvey, ngraham, mart<br /><strong>Cc: </strong>cfeck, zzag, plasma-devel, \
ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, \
apol, mart<br /></div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic