Bug 329545 - Applet icon does not scale horizontally when embedded in a panel
Summary: Applet icon does not scale horizontally when embedded in a panel
Alias: None
Product: plasma-nm
Classification: Unclassified
Component: applet (show other bugs)
Platform: Archlinux Packages Linux
: NOR normal (vote)
Target Milestone: ---
Assignee: Jan Grulich
Depends on:
Reported: 2014-01-03 00:03 UTC by Frank Steinmetzger
Modified: 2014-01-03 09:28 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Note You need to log in before you can comment on or make changes to this bug.
Description Frank Steinmetzger 2014-01-03 00:03:50 UTC
Netbooks have a small screen, so I made the bottom panel very small. I noticed a squeezed appearance of the WiFi icon, so I investigated. When put onto the desktop, the icon always scales with the proper aspect ratio. But when put into the panel, the icon always has the same width, only the height changes with the panel.

Reproducible: Always

Steps to Reproduce:
1. Put plasma-nm into the panel.
2. Alter the panel's height.
Actual Results:  
The applet's icon's size only changes vertically, but not horizontally.

Expected Results:  
The icon should remain its proper aspect ratio.
Comment 1 Jan Grulich 2014-01-03 09:28:45 UTC
Git commit 0f8771e8b11a018805aa1497d7963dfce24d4510 by Jan Grulich.
Committed on 03/01/2014 at 09:28.
Pushed by grulich into branch 'master'.

Properly scale applet icon when the applet is in panel

M  +29   -27   applet/declarative/contents/ui/CompactRepresentation.qml