Bug 218 - widgets jumping around...
Status:
RESOLVED FIXED
Component:
GUI
Version:
unspecified
Hardware:
PC Windows 2000
Importance:
P3 normal
Target Milestone:
---
Assignee:
Raymond Penners
URL:
Depends on:
Blocks:
Reported:
Mar 24 2003 05:25:11 UTC
by:
Kees-Jan Dijkzeul
Modified:
Mar 25 2003 10:43:05 UTC
WhoWhenWhatRemovedAdded
Raymond PennersMar 24 2003 05:58:41 UTCassigned_toRob CaelersRaymond Penners
blocks209
Raymond PennersMar 24 2003 10:49:51 UTCstatusNEWRESOLVED
resolutionFIXED
Description
Kees-Jan Dijkzeul  Mar 24 2003 05:25:11 UTC
Testcase:
Open the preferences panel. In the timer section, click the "restbreak" tab.
Now, click the "daily limit" tab.

Actual result:
The widgets for entering break time and the checkboxes to their right appear to
jump to the left, because the text "pauze tijdsduur" in the restbreak tab is
longer than the text "herstart om" in the daily limit tab.

Expected result:
The widgets should remain at the same location.
Comment 1
Raymond Penners  Mar 24 2003 10:49:51 UTC
Fixed. Now, if anybody would tell me how I can fix stuff like this in
Java/Swing, I could do a good GUI at work...
Comment 2
Kees-Jan Dijkzeul  Mar 25 2003 01:45:49 UTC
Hmm...
Can't you write your own layout manager??
Comment 3
Raymond Penners  Mar 25 2003 02:03:38 UTC
What I would like is to have the standard layout managers satisfy extra
constraints, like "do a normal gridbag layout, ~and~ match the width of this
widget to that width of that widget". 

If I write my own layout manager, I cannot use the standard layout managers
anymore. I am not sure if I could write my own layout manager that delegates to
existing managers while at the same time satisfying my constraints...

Btw, the time widgets still jump, though this is intentional.... if I don't have
them jump, the spacing between the label and the time entry becomes rather
large, especially in other translations where the difference in label length
varies more...
Comment 4
Raymond Penners  Mar 25 2003 10:43:05 UTC
Strike that last paragraph, you convinced me...  
Now, widgets aren't jumping at all.