Code : Tout sélectionner
OpenWindow(0, 0, 0, 870, 710, "", #PB_Window_SystemMenu|#PB_Window_MinimizeGadget|#PB_Window_TitleBar|#PB_Window_ScreenCentered)
ComboBoxGadget(1, 100, 655, 115, 22)
SetGadgetFont(1, LoadFont(2, "Microsoft Sans Serif", 16, #PB_Font_Bold|#PB_Font_HighQuality))
;ResizeGadget(1, 100, 655, 115, 22)
ComboBoxGadget(2, 400, 655, 115, 22)
Repeat
WindowEvent()
ForEver
Mais sur la 1ere, j'applique une font. Et on voit bien que la taille de la combobox change.
Pour la remettre a la taille originale, je doit rajouter la fonction resizegadget.
Est-ce normal ?