Python

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • comboboxes on mac looses bottom

    2 answers - 609 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    Hi All,
    on mac the combo boxes are loosing the bottom part if the height is set to "21", with size 28 they look fine.
    I am developing the application on windows where height 21 looks good. I need to port the application to mac.
    most controls and texts are bit oversized in mac . I tried using wx.WindowVariantSmall it works for most controls except comboboxes.
    Does anyone has similar situation Can I use a different font /setting for the controls to look similar to size as in windows
    Thanks
    Thomas Thomas
    phone +64 7 855 8478
    fax +64 7 855 8871
  • No.1 | | 1068 bytes | |

    I've found this often on Mac -- it happens when I place widgets in panels
    that I then place in a frame. If instead I put the widgets in a single
    sizer for the frame, I don't see the clipping you describe.
    -M

    Thu, 13 Jul 2006, Thomas Thomas wrote:

    Hi All,

    on mac the combo boxes are loosing the bottom part if the height is set to "21", with size 28 they look fine.

    I am developing the application on windows where height 21 looks good. I need to port the application to mac.

    most controls and texts are bit oversized in mac . I tried using wx.WindowVariantSmall it works for most controls except comboboxes.

    Does anyone has similar situation Can I use a different font /setting for the controls to look similar to size as in windows
    --
    Thanks

    Thomas Thomas

    phone +64 7 855 8478
    fax +64 7 855 8871

    To unsubscribe, e-mail: wxPython-users-unsubscribe (AT) lists (DOT) wxwidgets.org
    For additional commands, e-mail: wxPython-users-help (AT) lists (DOT) wxwidgets.org
  • No.2 | | 1147 bytes | |

    Thomas Thomas wrote:
    Hi All,

    on mac the combo boxes are loosing the bottom part if the height is set
    to "21", with size 28 they look fine.

    I am developing the application on windows where height 21 looks good. I
    need to port the application to mac.

    most controls and texts are bit oversized in mac . I tried using
    wx.WindowVariantSmall it works for most controls except comboboxes.

    Does anyone has similar situation Can I use a different font /setting
    for the controls to look similar to size as in windows

    It is almost always better to allow controls to have their default
    heights. The different platforms usually have different native sizes
    for a reason and if you try to force it to be different then you start
    to lose the native LnF.

    That said, the wxComboBox on wxMac is not a true native control but is a
    composite used to work around the native combo not fitting into the wx
    API (or something like that.) So it's possible that it is not passing
    the WindowVariant setting on to the individual controls like it should
    be. Please enter a bug report about this.

Re: comboboxes on mac looses bottom


max 4000 letters.
Your nickname that display:
In order to stop the spam: 6 + 6 =
QUESTION ON "Python"

EMSDN.COM