Layout bug in the libavogadro copy in kdeedu/kalzium

Hi,

I found a layout bug in the libavogadro copy in kdeedu/kalzium (from a
translators pov fixed layout is EVIL).

This bug is also in the libavogadro repository at sf.net.

Bugreport and a hacky but working patch is here:

https://bugs.kde.org/show_bug.cgi?id=209872


Burkhard Lück

I found a layout bug in the libavogadro copy in kdeedu/kalzium (from a
translators pov fixed layout is EVIL).

Thanks, it’s now fixed in our Git repo. Do you have a better
suggestion for this layout? I’m definitely open to suggestions!

Cheers,
-Geoff

Sorry for the delayed reply – I was trying to get 1.0 out the door.

I think a layout would be good, although I think it requires inserting
widgets into the QGLWidget. But this would require changing things
around a bit:
http://labs.trolltech.com/blogs/2008/06/27/accelerate-your-widgets-with-opengl/

It’s definitely a good goal for 1.1/1.2. I’ve filed your message as a
feature request.

If you have another solution, I’m open to it.

-Geoff

On Oct 9, 2009, at 2:46 AM, Burkhard Lück wrote:

The position if the labels and values is hardcoded and they are
written into
the molecule view.
You never know, how long the translated string is, but even if it is
possible
to make the whole dialog and the molecule view greater, the distance
of labels
and values is fixed.

It would be better to move the label and values to the bottom of the
molecule
view and layout them in a stretchable grid (3 rows + 4 columns).

If the text of when label is too long, I can then make the dialog
window
wider, this increases also the with of the columns, so that the text
is
readable again.

Am Donnerstag 29 Oktober 2009 19:02:36 schrieb Geoffrey Hutchison:

Sorry for the delayed reply – I was trying to get 1.0 out the door.

No problem :slight_smile:

I think a layout would be good, although I think it requires inserting
widgets into the QGLWidget. But this would require changing things
around a bit:
http://labs.trolltech.com/blogs/2008/06/27/accelerate-your-widgets-with-ope
ngl/

It’s definitely a good goal for 1.1/1.2. I’ve filed your message as a
feature request.

Thanks for keeping me informed.

If you have another solution, I’m open to it.

Sorry no.

Btw. great piece of software!


Burkhard Lück