Commits on Source (3)
-
Tanu Kaskinen authored
The channel labels ("Front Left" etc.) that are adjacent to volume sliders used to be left-aligned, which meant that there was some empty space (depending on the text width) between the label text and the volume slider. Right-aligning the labels looks nicer.
46ce3e41 -
Tanu Kaskinen authored
DeviceWidget and StreamWidget had some duplicate code to initialize ChannelWidgets. This patch moves some of the duplicated initialization code into ChannelWidgets to reduce repetition and to improve encapsulation.
f200a10d -
Tanu Kaskinen authored
pavucontrol.glade previously set the channel label width to 15 characters, with the goal of making all channel labels have the same width. However, with some translations and font settings the configured width wasn't enough, so sometimes a label was wider than others, and that made the volume slider widths different too. If the volume sliders have different widths, it's very hard to visually compare the volumes of the channels. This patch removes the fixed width in pavucontrol.glade and solves the problem by finding the widest label and using that label's width with all labels. Fixes: #51
5f664bc6