The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Bf now adapts to text changes

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
James Robertson

Posts: 29924
Nickname: jarober61
Registered: Jun, 2003

David Buck, Smalltalker at large
Bf now adapts to text changes Posted: Jan 24, 2004 3:37 PM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: Bf now adapts to text changes
Feed Title: Cincom Smalltalk Blog - Smalltalk with Rants
Feed URL: http://www.cincomsmalltalk.com/rssBlog/rssBlogView.xml
Feed Description: James Robertson comments on Cincom Smalltalk, the Smalltalk development community, and IT trends and issues in general.
Latest Agile Buzz Posts
Latest Agile Buzz Posts by James Robertson
Latest Posts From Cincom Smalltalk Blog - Smalltalk with Rants

Advertisement
I've had a setting in BottomFeeder to allow the user to modify text sizes for awhile now. The problem is, it never worked quite right, and I always pushed working on it off. Well, I spent the last 2 days taking a look at the issue. There were two things, ultimately very simple:
  • I needed to 'kick' the tree widget with the updated text information
  • The grid widget was utterly ignoring text settings

The latter problem was hard to track down, but easy to fix. There's a widget used in the dataset for read-only cells (which is what Bf uses). The problem? No matter what text setting you picked in settings, the dataset was always using the font that had been set when the specification for the GUI was made. So I simply changed the method to grab the current setting instead of the one being handed to it. The result? If you change text settings, the dataset now does the right thing

Read: Bf now adapts to text changes

Topic: Exporting to the Space Station Previous Topic   Next Topic Topic: Political Humor

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use