Item height (row height) in container like widgets ....

VA Smalltalk is a "100% VisualAge compatible" IDE that includes the original VisualAge technology and the popular VA Assist and WidgetKit add-ons.

Moderators: Eric Clayberg, wembley, tc, Diane Engles, solveig

Item height (row height) in container like widgets ....

Postby marten » Wed Oct 25, 2006 3:11 am

When designing a form on platform A (e.g. Windows) the default itemHeight of a container like widget is set into the property of that widget (found in the "abtBuildInternals" method) - when the widget is created within the designer.

This initially itemHeight is calculated based on the default font (when no specific font is defined) when EDITING this widget. Under my Windows this is something like 24 pixels.

When going to OS/2 (ok, ok - :D ) this will bring us partially displayed rows - because here the default itemHeight is 28. I have not checked this with Unix ...

To get rid of this behaviour one should set this value again in a "initializeWindow" method like:

Code: Select all
initializeWindow

   (self subpartNamed: 'listBoxKnownDomains') itemHeight: nil
   


As an alternative the developers opens the property window of that container widget and deleted the value found there for itemHeight - then the above procedure will be executed in the "abtBuildInternals" method.

I think that the better behaviour would be, that the property itemHeight is NOT initiallay set by the CompositionEditor.
marten
[|]
 
Posts: 641
Joined: Sat Oct 14, 2006 7:10 am
Location: Hamburg - Germany

Postby tc » Thu Oct 26, 2006 8:34 pm

That is something we may want to look at for the next release.

--tc
tc
Moderator
 
Posts: 304
Joined: Tue Oct 17, 2006 7:40 am
Location: Raleigh, NC

Postby marten » Thu Feb 15, 2007 5:37 am

tc wrote:That is something we may want to look at for the next release.

--tc


As I noticed - nothing had happened with this problem in VA 7.5 ????

Marten
marten
[|]
 
Posts: 641
Joined: Sat Oct 14, 2006 7:10 am
Location: Hamburg - Germany

Postby marten » Tue Mar 27, 2007 12:26 pm

marten wrote:
tc wrote:That is something we may want to look at for the next release.

--tc


As I noticed - nothing had happened with this problem in VA 7.5 ????

Marten


And no answer to this posting either ....

Marten
marten
[|]
 
Posts: 641
Joined: Sat Oct 14, 2006 7:10 am
Location: Hamburg - Germany

Postby solveig » Tue Apr 03, 2007 9:04 am

Marten,

I have opened a case 28160.

Solveig
solveig
Moderator
 
Posts: 57
Joined: Tue Oct 17, 2006 6:30 am


Return to VA Smalltalk 7.0, 7.5 & 8.0

Who is online

Users browsing this forum: No registered users and 1 guest