linux-man / gnome-shell-extension-printers

Gnome extension - Manage Jobs and Printers
GNU General Public License v3.0
14 stars 13 forks source link

GtkSwitch widget stretches to fill the available horizontal space #9

Closed PJ-Singh-001 closed 5 years ago

PJ-Singh-001 commented 5 years ago

On the settings dialog, the GtkSwitch widget stretches to fill the available horizontal space. A GtkSwitch should never stretch; it should always stay the same size.

This can be fixed in one of two ways:

  1. Specify that the GtkSwitch does not expand horizontally, and right justify it in your container.

...or...

  1. Add a widget (like a label without text) just in front of (to the left of) the GtkSwitch widget. Set this widget to expand to take up available horizontal space.

Here is what it looks like...

screenshot from 2018-10-01 19-52-14

Here is an example of what a GtkSwitch should look like:

screenshot from 2018-10-01 20-19-42

linux-man commented 5 years ago

Extension uploaded - waiting for approval.

linux-man commented 5 years ago

Extension approved. Can we close this issue?

PJ-Singh-001 commented 5 years ago

Perfect! Thank You!

printers extension settings 2018-10-09

printers extension settings 2018-10-09-02

linux-man commented 5 years ago

You're welcome.