[Bug 973590] New: weird layout of bootloader screen
http://bugzilla.suse.com/show_bug.cgi?id=973590 Bug ID: 973590 Summary: weird layout of bootloader screen Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 Assignee: yast2-maintainers@suse.de Reporter: dmueller@suse.com QA Contact: jsrain@suse.com Found By: --- Blocker: --- While updating the openQA needle for openSUSE on AArch64 people noted that the "indentation" of the items in the ncurses ui looks slightly awkward. Is it intended that there is this huge empty space at the top left corner? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=973590
http://bugzilla.suse.com/show_bug.cgi?id=973590#c1
--- Comment #1 from Dirk Mueller
http://bugzilla.suse.com/show_bug.cgi?id=973590
Imobach Gonzalez Sosa
http://bugzilla.suse.com/show_bug.cgi?id=973590
http://bugzilla.suse.com/show_bug.cgi?id=973590#c3
--- Comment #3 from Martin Vidner
http://bugzilla.suse.com/show_bug.cgi?id=973590
http://bugzilla.suse.com/show_bug.cgi?id=973590#c4
--- Comment #4 from Martin Vidner
http://bugzilla.suse.com/show_bug.cgi?id=973590
http://bugzilla.suse.com/show_bug.cgi?id=973590#c5
Martin Vidner
http://bugzilla.suse.com/show_bug.cgi?id=973590
http://bugzilla.suse.com/show_bug.cgi?id=973590#c6
Josef Reidinger
http://bugzilla.suse.com/show_bug.cgi?id=973590
http://bugzilla.suse.com/show_bug.cgi?id=973590#c7
Imobach Gonzalez Sosa
http://bugzilla.suse.com/show_bug.cgi?id=973590
http://bugzilla.suse.com/show_bug.cgi?id=973590#c8
--- Comment #8 from Ladislav Slezák
Well, original intention that is in bootloader for ages is that it replace all widgets which is not applicable by Empty, so on all archs position of same config should be on identical places and there are some gaps.
Yes, that makes sense, but in this case the placement is NOT identical. Here with some options the bootloader type is on the left: https://bugzilla.suse.com/attachment.cgi?id=672621 Without any option on aarch64 the bootloader type is centered: https://bugzilla.suse.com/attachment.cgi?id=671276 If we want to have the identical place the bootloader type selection should be on the left side also on aarch64. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=973590
Ladislav Slezák
http://bugzilla.suse.com/show_bug.cgi?id=973590
Ladislav Slezák
http://bugzilla.suse.com/show_bug.cgi?id=973590
http://bugzilla.suse.com/show_bug.cgi?id=973590#c9
Steffen Winterfeldt
http://bugzilla.suse.com/show_bug.cgi?id=973590
http://bugzilla.suse.com/show_bug.cgi?id=973590#c10
Josef Reidinger
https://bugzilla.suse.com/show_bug.cgi?id=973590
https://bugzilla.suse.com/show_bug.cgi?id=973590#c11
Stefan Hundhammer
Yes, that makes sense, but in this case the placement is NOT identical.
Here with some options the bootloader type is on the left: https://bugzilla.suse.com/attachment.cgi?id=672621
Without any option on aarch64 the bootloader type is centered: https://bugzilla.suse.com/attachment.cgi?id=671276
I assume this is in a VBox, and this is one row of that VBox. Probably that row is also a separate HBox. If there is only one widget in a VBox row, it will be horizontally centered if the widget is not stretchable, and if it is, it will be stretched to take up the complete width. So if it's a HBox, the HBox is stretchable if any of its children is stretchable. If none of them is stretchable, the HBox is also not stretchable; so its parent VBox will horizontally center it. I guess that is what happened here: By default (unless given the hstretchable option), it is not stretchable. If there is still another widget in that HBox that is stretchable, that one will make the whole row stretch, and the stretchable widget(s) will get the excess space in the horizontal dimension, i.e. those stretchable widgets will become wider. But if there is none that could take up the excess width, rather than artificially blowing up the combo box (which would also look bad), it remains as wide as it is, so its HBox parent remains as wide as it is, so that whole HBox is centered. That is a general principle of how our layout widgets (VBox and HBox) work. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=973590
https://bugzilla.suse.com/show_bug.cgi?id=973590#c12
Stefan Hundhammer
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com