Bug 375911 - Application Menu (global menu) size bug
Summary: Application Menu (global menu) size bug
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Global Menu (show other bugs)
Version: 5.9.0
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Kai Uwe Broulik
URL:
Keywords:
: 376564 377043 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-02-02 18:43 UTC by alxgvr
Modified: 2017-03-01 10:59 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
global menu situated not symmetrical (155.33 KB, image/png)
2017-02-02 18:43 UTC, alxgvr
Details
Global menu is not scaled with the panel (13.97 KB, image/png)
2017-02-04 00:42 UTC, ishovkun
Details

Note You need to log in before you can comment on or make changes to this bug.
Description alxgvr 2017-02-02 18:43:40 UTC
Created attachment 103779 [details]
global menu situated not symmetrical

Hi. Just installed Plasma 5.9
I use global menu widget on top panel. 
As you can see from the screenshot - it is not placed symmetrically in vertical plane.
It is located close to bottom border, and far from top border.
Comment 1 ishovkun 2017-02-04 00:42:27 UTC
Created attachment 103810 [details]
Global menu is not scaled with the panel

When the panel is appreciably tall, the widget text is centered vertically.
With the smaller panes size, the widget is not centered vertically.
Comment 2 Kai Uwe Broulik 2017-02-06 14:20:28 UTC
Git commit c21ff749e6467d4fdf3017e423471ea756218863 by Kai Uwe Broulik.
Committed on 06/02/2017 at 14:20.
Pushed by broulik into branch 'master'.

[Button Styles] Use Layout.fillHeight instead of parent.height in a Layout

This fixes the label not being vertically centered if the button is smaller than its implicit height.
This can happen with the global menu applet in a narrow panel.

Differential Revision: https://phabricator.kde.org/D4436

M  +1    -1    src/declarativeimports/plasmastyle/ButtonStyle.qml
M  +1    -1    src/declarativeimports/plasmastyle/ToolButtonStyle.qml

https://commits.kde.org/plasma-framework/c21ff749e6467d4fdf3017e423471ea756218863
Comment 3 Kai Uwe Broulik 2017-02-17 09:22:25 UTC
*** Bug 376564 has been marked as a duplicate of this bug. ***
Comment 4 Kai Uwe Broulik 2017-03-01 10:59:31 UTC
*** Bug 377043 has been marked as a duplicate of this bug. ***