On Feb 26, 2006, at 9:08 am, Emile Schwarz wrote:

Hi all,


I use for interface, as default font (System) and size (0); the Control Height is 20. Unfortunately, that is not enough (the "Close" word is truncated at its bottom).


Extract from the Language Reference:
<quote>
Linux Considerations
If you are building your application for Linux, from another platform, you should carefully check out the appearance of the Linux version of your interface and adjust the font size and size of controls for maximum readability.
</quote>


The question is:


how did you define the height of a PushButton (for example) ?
[by successive try ?]

Complementary question:

when you found a value, did it works for many (if not every) Linux flavor ?


Emile,

We use a subclass of the Pushbutton control which has the following code in the Open() event:

Sub Open()
  #if targetLinux then
    me.top = me.top - 1
    me.height = me.height + 2
  #endif
  Open() //Only need this if you're subclassing the PushButton Control
End Sub

This works very well for us. You just need to make sure you leave enough room (if you're using the guidelines, it should work pretty well)

Greg


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to