Testing one of my applications on Linux using this beta, and it seems it's not possible to create a button with arbitrary sizes. Is that a GTK3 "feature"?
It's not a problem in PB5.2x (GTK2?), but with PB5.4x the button will always be big/wide enough for its text and some padding, which means they ...
Search found 7 matches
- Wed Nov 15, 2017 6:01 am
- Forum: Announcement
- Topic: PureBasic 5.46 LTS released !
- Replies: 29
- Views: 28381
- Tue Jan 31, 2017 12:32 am
- Forum: Announcement
- Topic: PureBasic 5.60 final is available !
- Replies: 145
- Views: 85551
Re: PureBasic 5.60 beta 1 is available
Hi,
First of all, thanks for the new beta.
As for the new new ToolBar commands... I think ToolBarButtonText() should be SetToolBarButtonText() and it also would be handy to have a GetToolBarButtonText() pair of it.
Also, a "vertical toolbar" flag would be welcome as well
Cheers,
First of all, thanks for the new beta.
As for the new new ToolBar commands... I think ToolBarButtonText() should be SetToolBarButtonText() and it also would be handy to have a GetToolBarButtonText() pair of it.
Also, a "vertical toolbar" flag would be welcome as well

Cheers,
- Fri Feb 20, 2015 9:12 pm
- Forum: Coding Questions
- Topic: False colors using LineXY()
- Replies: 5
- Views: 2894
Re: False colors using LineXY()
This has been moved to Coding Questions though no question was asked but a bug was reported which is still there in PB 5.31. See the included example in the opening post.
- Thu Feb 13, 2014 12:19 am
- Forum: Tricks 'n' Tips
- Topic: Simple registry functions
- Replies: 20
- Views: 13956
Re: Simple registry functions
Thanks srod, your code saved me a lot of time.
- Wed Sep 18, 2013 10:30 pm
- Forum: Coding Questions
- Topic: False colors using LineXY()
- Replies: 5
- Views: 2894
Re: False colors using LineXY()
Thanks Demivec, #PB_2DDrawing_AlphaBlend really works as expected.
Alpha modes are still a bit tricky for me so I stopped experimenting when I got the result I wanted.
And thanks for the other tip as well. Though I can not see the difference in the two outputs yet it is good to keep these tricks in ...
Alpha modes are still a bit tricky for me so I stopped experimenting when I got the result I wanted.
And thanks for the other tip as well. Though I can not see the difference in the two outputs yet it is good to keep these tricks in ...
- Wed Sep 18, 2013 5:06 pm
- Forum: Coding Questions
- Topic: False colors using LineXY()
- Replies: 5
- Views: 2894
Re: False colors using LineXY()
thanks, good to know that 
the strange thing is that the code does what I want (drawings with changeable transparency) except when I draw exact vertical lines with LineXY() as you can see in the example code.

the strange thing is that the code does what I want (drawings with changeable transparency) except when I draw exact vertical lines with LineXY() as you can see in the example code.
- Wed Sep 18, 2013 1:26 pm
- Forum: Coding Questions
- Topic: False colors using LineXY()
- Replies: 5
- Views: 2894
False colors using LineXY()
Hi All,
At last I have managed to recover my forum account.
Here is small bug I found some months ago while wanted to draw vertical lines with LineXY(...RGBA()) using DrawingMode(#PB_2DDrawing_AlphaClip).
;
; A bug when drawing a _vertical_ alpha line with LineXY(x1,y1,x2,y2,RGBA()) using ...
At last I have managed to recover my forum account.
Here is small bug I found some months ago while wanted to draw vertical lines with LineXY(...RGBA()) using DrawingMode(#PB_2DDrawing_AlphaClip).
;
; A bug when drawing a _vertical_ alpha line with LineXY(x1,y1,x2,y2,RGBA()) using ...