frafu
October 18th, 2006, 08:41 PM
Hello,
I have seen that the size of the letter in the keys of onboard is coded in the xml file of the keyboard layout.
Would it not be possible to implement it dynamically? When the keyboard is resized, onboard would get the height of the keys and size the letter that labels the key accordingly. For example computing the size of the font to write the key label to be 4/5 (if this ratio makes sense) of the height of the key.
By using this method, there will probably be a problem with the label of the modifiers because they will not fit anymore into the key. Can't you simply replace the word in the modifier with a scalable symbol?
frafu
PS: @t0rtois3 and Henrik
Please, don't get me wrong because of the different threads that I have opened with the problems I encountered using onboard. I and very probably other people appreciate what Henrik and you have done so far and plan to do with onboard.
By the way, is there a way I can change the title of a thread to include for example the word 'solved' in order to indicate that the problem of the thread has been solved?
I have seen that the size of the letter in the keys of onboard is coded in the xml file of the keyboard layout.
Would it not be possible to implement it dynamically? When the keyboard is resized, onboard would get the height of the keys and size the letter that labels the key accordingly. For example computing the size of the font to write the key label to be 4/5 (if this ratio makes sense) of the height of the key.
By using this method, there will probably be a problem with the label of the modifiers because they will not fit anymore into the key. Can't you simply replace the word in the modifier with a scalable symbol?
frafu
PS: @t0rtois3 and Henrik
Please, don't get me wrong because of the different threads that I have opened with the problems I encountered using onboard. I and very probably other people appreciate what Henrik and you have done so far and plan to do with onboard.
By the way, is there a way I can change the title of a thread to include for example the word 'solved' in order to indicate that the problem of the thread has been solved?