Bug 104072

Summary: yast2-dns-server GUI layout is broken and unusable
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Uwe Gansert <ug>
Component: YaST2Assignee: Lukas Ocilka <locilka>
Status: RESOLVED FIXED QA Contact: Klaus Kämpf <kkaempf>
Severity: Normal    
Priority: P5 - None CC: cihlarov, locilka
Version: Beta 1   
Target Milestone: ---   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Uwe Gansert 2005-08-11 10:25:56 UTC
if I configure the DNS server with the autoyast GUI, some GUI elements in the
zone configuration dialog are in a bad layout. For example, the "Records" list
is not readable because just the half of the first entry can be read, even if
there are more entries in the list. Same for MX records. The "Basics" is useable
but looks strange too because it's a little bit small.
It's all in the "zone configuration"
Comment 1 Lukas Ocilka 2005-08-11 10:39:19 UTC
OK, lets fix the UI with some funny UI hack :)
Comment 2 Lukas Ocilka 2005-08-11 11:13:27 UTC
"`opt(`vstretch)" doesn't work when it is inside `Top()

`Top (
  `VBox (
    `HBox (... `opt(`vstretch) ...)
    `HBox (... `opt(`vstretch) ...)
  )
)

I'll remove all `Top() from my DNS Server UI for this case...
Comment 3 Lukas Ocilka 2005-08-11 11:23:37 UTC
`Left() squashes the `object to smallest than the minimum too...
Comment 4 Lukas Ocilka 2005-08-11 11:38:45 UTC
OK, fixed in the source code...

I'll send a new yast2-dns-server package after it is approved by aj and I'll
build a fast preview for i386.
Comment 5 Stefan Hundhammer 2005-08-16 10:24:05 UTC
See my posts on yast2-hacker: This is the intended behaviour of an alignment 
widget. It does not make any sense to combine both `opt(`vstretch) and `Top(). 
Either you want your content stretched to take all available space, or you 
want it to keep its size and have it aligned. 
Comment 6 Lukas Ocilka 2005-08-16 10:27:39 UTC
Hmm, there's no warning in the log that tu UI doesn't make sense :)
On the other hand, the bug - DNS Server GUI - has been fixed already. Let's play
the another game.