Please login or register.

Login with username, password and session length
Advanced search  

News:

This forum provides RSS feed. To query recent posts use this url. More...


Author Topic: Fonts and edit boxes  (Read 4372 times)

0 Members and 1 Guest are viewing this topic.

eborr

  • Regular poster
  • ***
  • Karma: 4
  • Offline Offline
  • Posts: 196
    • View Profile
Fonts and edit boxes
« on: May 02, 2011, 11:51:42 AM »

Hello I have made some cosmetic changes to the menu system, largely leaving the existing menu scripts alone, altering the colouring of the tile and changing the fonts.

All appeared to work well, until I tried to save a game, and then I couldn't edit the text. Subsequent investigation narrowed the issue to changing fonts from the sserif font to any other - with sserif all is well, without it the editor loose focus and cannot take a cursor.  I have probably missed something really obvious
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Fonts and edit boxes
« Reply #1 on: May 02, 2011, 12:08:47 PM »

Maybe the new font is bigger and doesn't fit into the edit box anymore?
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

eborr

  • Regular poster
  • ***
  • Karma: 4
  • Offline Offline
  • Posts: 196
    • View Profile
Re: Fonts and edit boxes
« Reply #2 on: May 02, 2011, 06:02:32 PM »

I thought of that and I think I increased the size of the box so it had sufficient height, to allow for the font, perhaps I will have a look at that.
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Fonts and edit boxes
« Reply #3 on: May 03, 2011, 08:20:00 AM »

You can test is quite easily in WindowEdit. I don't think there's any other way how the font could affect focus.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

eborr

  • Regular poster
  • ***
  • Karma: 4
  • Offline Offline
  • Posts: 196
    • View Profile
Re: Fonts and edit boxes
« Reply #4 on: May 03, 2011, 08:49:36 PM »

fiddled around with the size a bit more. Working fine now
thanks
Logged
 

Page created in 0.037 seconds with 24 queries.