Le 24/10/2018 à 04:07, sbungay a écrit :


On 18-10-23 07:55 PM, Benoît Minisini wrote:
Le 23/10/2018 à 17:56, sbungay a écrit :
I did send a sample project along yesterday and it never got posted. Will try again, hope it gets through this time.

I have two frames on the form, two text boxes, a listview, and three labels.

One of the labels has no text property set, but uses a lebel with the text "FOO!". The label is located approximately where I would expect it to be if it was being created by the the text property of the frame view.

The other frame view has its text property set and does not use a label. The text value is "BAR". When the program is run, frame view #1 (with the "FOO!" label) looks like I would expect a frameview to look when its text property is set. However, frame view #2 (with its text property set to "BAR") has no frame around it.

System: Mint 17.3
Desktop: Mate
Toolkit: qt4


Yes, of course: the Frame widget look depends on the widget theme.

If you use, for example, CleanLooks widget theme, the Frame widget will look like as you expect.

Oxygen and Breeze themes decided to draw frames with the label inside the frame, and not on top.

Regards,


  Argh! I was using the Mint-X theme, changed it to Adwaita and now I get what I expected. Thanks guys, it never occured to me to try different themes for the controls/widgets/gadgets (Amiga O/S called them gadgets). It does seem odd to have a frame view without a frame... why... isn't that a panel?

   Anyway, thanks again.

Steve.


I could rewrite the Frame control in Gambas. That way it will look the same whatever the widget theme is. But it won't follow the widget theme anymore, so other people may rant.

P.S. Please answer on the mailing-list.

--
Benoît Minisini


_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to