Red Hat Bugzilla – Bug 1248734
Certain dialogs should not be so huge in subscription-manager-gui
Last modified: 2015-11-19 06:50:06 EST
Created attachment 1057771 [details]
Screenshot of the register and auto-attach dialogs size
Description of problem:
Technically this is not a bug, but it looks unpolished. Some of the dialogs come up disproportionately large with a large portion of the space being empty
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Click on the Menu System->Register
2. Look at Register dialog
3. Register the system
4. Go to All Available Subscriptions tab
5. Click on Auto Attach button
6. Observe the Auto attach dialog
See attached screenshots
These dialogs should probably be smaller as the information within the dialog is rather small.
in github master:
Author: Adrian Likins <email@example.com>
Date: Tue Sep 8 10:53:19 2015 -0400
884288: Make register widgets handle resizing.
For wide windows or dialogs, most widgets were set to
use a align mode of 'fill'. This causes things like entry
boxes to expand to the entire width of the parent. Combined
with widget package that was causing the RegisterWidget to
expand to cover the widgets register screen, many widgets
fill the entire width of the screen.
Make Entry widgets set a min and max width, but allow them
to expand and fill up to that max width.
Tweak most of the Labels to auto wrap. Enabling end ellipsing
on most labels, but also give them plenty of room to expand with
by setting the suggest number of lines before ellipsing. Labels
also get set to expand. That combo removes the behavior of
labels that require a ton of horizontal space, forcing the
RegisterWidget to be very wide (and causing entries and the
like to fill all of that space).
Add Gtk.Adjustments for any ScrolledWindows that need it. Remove
some Gtk.ViewPorts that are not needed (those holding a TreeView
Set min size requests for the ScrollWindows, so the defualt size
allocated doesn't hide the contents.
Replace some Gtk.Box based layouts with Gtk.Grid instead. Especially
those that need Gtk.Alignment widgets for formatting.
Generally reduce some of the spacing and margins of the widgets,
especially around the edges of notebook screens. It should be up
to the parent that holds the RegisterWidget to setup borders, spacing,
Add size groups for some of the more fussier layouts.
Created attachment 1079193 [details]
Looks good now. The dialogs are proportioned better, and the progress dialog shows the slider moving now.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.