Search found 630 matches
- Tue Mar 19, 2024 8:55 am
- Forum: Bugs - Mac OSX
- Topic: "nil NSFont"-Error in EditorGadget() if SetGadgetFont() before
- Replies: 2
- Views: 277
Re: "nil NSFont"-Error in EditorGadget() if SetGadgetFont() before
Hey, nice to know that ".AppleSystemUIFont" or an empty string "" as font name loads the system default font. This question is very often asked here, how to get the name of the system font, for example, to provide some labels with a larger font. Could almost be included in the do...
- Sun Mar 17, 2024 9:07 am
- Forum: Bugs - Mac OSX
- Topic: "nil NSFont"-Error in EditorGadget() if SetGadgetFont() before
- Replies: 2
- Views: 277
"nil NSFont"-Error in EditorGadget() if SetGadgetFont() before
If you change the font size to 12 or 14, it works. But with 13 the program crashes with this strange error message... the return of LoadFont() is OK in all cases. result = LoadFont(0, "San Francisco", 13) SetGadgetFont(#PB_Default , FontID(0)) Debug result ; seems OK and loaded OpenWindow(...
- Sat Mar 16, 2024 1:58 pm
- Forum: Bugs - Mac OSX
- Topic: [Done] ListView/Editor/Text: SetGadgetFont(Gadget, #PB_Default) don't reset the line height / font size
- Replies: 7
- Views: 348
Re: [Done] ListView/Editor/Text: SetGadgetFont(Gadget, #PB_Default) don't reset the line height / font size
Yes, this is what I have noted in this thread:
https://www.purebasic.fr/english/viewtopic.php?t=83816
- Sat Mar 16, 2024 8:08 am
- Forum: Mac OSX
- Topic: 6.10b8 ListView line height is much larger
- Replies: 5
- Views: 227
Re: 6.10b8 ListView line height is much larger
It seems it is a hard thing to get back to the default (maybe it is impossible to get all information about the default setup?). Even with the fix on beta 8, you can still see differences between the original state and the reset font. -------------------- Other strange thing (or is that how Apple sp...
- Fri Mar 15, 2024 7:08 pm
- Forum: Announcement
- Topic: PureBasic 6.10 LTS is out !
- Replies: 286
- Views: 36281
- Fri Mar 15, 2024 3:57 pm
- Forum: Mac OSX
- Topic: 6.10b8 ListView line height is much larger
- Replies: 5
- Views: 227
Re: 6.10b8 ListView line height is much larger
Does it appear that line height in the ListViewGadget is much larger than in 6.10b7? The example in Help seems to be ok but I'm going to have a lot of editing to get the new size to work and I'd really like the lines not be so tall. In one of my programs in beta 7 I get 70 lines showing and in beta...
- Fri Mar 15, 2024 10:52 am
- Forum: Announcement
- Topic: PureBasic 6.10 LTS is out !
- Replies: 286
- Views: 36281
Re: PureBasic 6.10 beta 8 is out !
:D Is there a way to support the project financially independently of buying a license? I purchased my PB license 21 years ago. I'm starting to feel guilty about having paid for it just this once... PS: Who can do a current interview with the makers of PB? What is the current situation? Who is invol...
- Tue Mar 05, 2024 8:16 pm
- Forum: Bugs - Mac OSX
- Topic: [Done] ListView/Editor/Text: SetGadgetFont(Gadget, #PB_Default) don't reset the line height / font size
- Replies: 7
- Views: 348
- Tue Mar 05, 2024 5:59 pm
- Forum: Bugs - Mac OSX
- Topic: [Done] ListView/Editor/Text: SetGadgetFont(Gadget, #PB_Default) don't reset the line height / font size
- Replies: 7
- Views: 348
Re: ListView/Editor/Text: SetGadgetFont(Gadget, #PB_Default) don't reset the line height / font size
ListIconGadget() is also affected, and I suspect other gadgets as well. Seems to be a fundamental problem...
- Tue Mar 05, 2024 1:44 pm
- Forum: Bugs - Mac OSX
- Topic: [Done] ListView/Editor/Text: SetGadgetFont(Gadget, #PB_Default) don't reset the line height / font size
- Replies: 7
- Views: 348
Re: ListView/Editor: SetGadgetFont(Gadget, #PB_Default) don't reset the line height (margin)
Similar problem with EditorGadget() and TextGadget(). But here seems the initial font wrong (to small). After Reset with #PB_Default the font looks better: LoadFont(0, "Menlo", 16) OpenWindow(0, 0, 0, 270*2, 190, "ListViewGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered...
- Tue Mar 05, 2024 7:08 am
- Forum: Bugs - Mac OSX
- Topic: [Done] ListView/Editor/Text: SetGadgetFont(Gadget, #PB_Default) don't reset the line height / font size
- Replies: 7
- Views: 348
[Done] ListView/Editor/Text: SetGadgetFont(Gadget, #PB_Default) don't reset the line height / font size
OpenWindow(0, 0, 0, 270*2, 190, "ListViewGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered) ListViewGadget(0, 10, 10, 250, 120) For a = 1 To 12 AddGadgetItem (0, -1, "Item yyy " + Str(a) + " of the Listview") ; definieren des Listview-Inhalts Next SetGadgetSta...
- Mon Mar 04, 2024 10:45 am
- Forum: Mac OSX
- Topic: SetGadgetFont leads to narrow line spacing in ListViewGadget
- Replies: 1
- Views: 115
SetGadgetFont leads to narrow line spacing in ListViewGadget
Is this only depending on the font? But this line spacing I see seems to small (the line height ends exactly with the tail of the "y"). However, the line spacing is much larger in the default state... if OpenWindow(0, 0, 0, 270*2, 140, "ListViewGadget", #PB_Window_SystemMenu | #P...
- Mon Mar 04, 2024 7:18 am
- Forum: Bugs - Mac OSX
- Topic: [Done] Example "WindowedScreen.pb" shows a black window only
- Replies: 6
- Views: 426
Re: [Done] Example "WindowedScreen.pb" shows a black window only
Seems it is not fixed for the 3D engine. If you run this example:
https://www.purebasic.fr/english/viewtopic.php?p=616982
you get the same lower left 1/4 screen...
https://www.purebasic.fr/english/viewtopic.php?p=616982
you get the same lower left 1/4 screen...
- Mon Mar 04, 2024 7:17 am
- Forum: 3D Programming
- Topic: Demo 3D - Repulsion
- Replies: 9
- Views: 1636
Re: Demo 3D - Repulsion
With Mac OS this looks completely different and faulty. The stars are simply white dots and the screen section is also limited to 1/4....
- Sat Mar 02, 2024 8:09 pm
- Forum: Bugs - Mac OSX
- Topic: [Done] Example "WindowedScreen.pb" shows a black window only
- Replies: 6
- Views: 426
Re: Example "WindowedScreen.pb" shows a black window only
Works now!!!!
Thanks!
Thanks!