What's clear is you are either new to linux and writing linux software and you do not really understand how it all works..Doctor Watson wrote: ↑Saturday 27th February 2021 8:59am Indeed Steve. This code should simplify something I tried with a lot more coding.
But it doesn’t solve the problem regarding the border styles. Meanwhile I found that 3 more styles should be possible: Dashed, Dotted and Double.
And that brings me to the Themes. I have never used any, just satisfied with the ‘default’ one gets when installing Ubuntu, whatever it’s called.
I’m rather surprised to see that one would have to install a particular Ubuntu theme for Gambas controls to work / show properly.
That must have consequences for program developers.
Suppose I did install a theme such as Raleigh – where the borders show as they should – and I write this project I’m working on. When I run it, all looks like it should. Then I compile it into an executable and distribute it. But only users who have installed a compatible Theme would see it as it should …..
This looks like a clear bug to me. If my reasoning is right, it could even be that the Gambas developers were using such a Theme at the time they wrote the code.
I’m still hoping for a solution. It’s the Raised Border style I’m looking for in particular.
I wrote my program some years ago in RealBasic and it’s GUI just looked fine. If I have to settle for a meagre trick to produce something that looks like a border … it’s just feels not right, doesn't it?
Some use different themes , some systems use QT only and not GTK, some GTK not QT
You say you do not use a theme , again this shows your knowledge of linux itself.
That's how linux works , just because you do not know you are using one does not mean you are not.
It's not a theme that just applies pictures. it controls many aspects of your desktop.
your reasoning actually, is not right at all. Sorry to say it.
you can use the utilities available and methods to make a GUI or not , if you want something special you have to code it.
I guess the basic app you wrote years ago was on a different linux, probably has a better theme installed.
I have complained and reported bugs about many gambas things on the gambas developers mailing lists and many were just my lack of knowledge about how the linux system works. (fair enough, i was happy be be informed the truth)
which brings me on to bugs..
This is not the gambas developers mailing list it is a support/gambas users forum.
The only person here that's written any code that's a part of gambas is me (as far as i i am aware) and I'm not part of the gambas team either i'm just a supporter. So this is not the place to report bugs, this is a place to get advice and help.
We can help you with your gambas programming code and help with things you do not understand about linux,
And let you know of the "tricks" and workarounds there are if you want something specific that gambas (and linux) do not do in general.
I hope that makes sense, sorry if it's not the answer you were looking for.
All the best
BruceS