1 Jun 2012 10:03
Silly behavior on Mageia 2
M. Cs. <mohareve <at> gmail.com>
2012-06-01 08:03:46 GMT
2012-06-01 08:03:46 GMT
Hi, I'm testing my Gambas3 application on the new Mageia 2 release, and I'm encountering weird things: 1. There's no mp3 playback with gb.sdl.sound component 2. The Exist() cannot find existing files. I have no such errors on Kubuntu.. I was a big fan of Mandriva, so I wanted to give a try to its fork, but the result isn't very impressive. Moreover, I never had decent results with any of big RPM based distributions ( openSuse, Fedora, Mandriva and now Mageia too). There are nearly always dependency problems. But in present case I just don't know what's wrong. Any similar experiences, solutions? Csaba ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
To adjust the width, use Table.Font.Width(LongestString), maybe with a
for-next loop at first to check the contents of all cells in a column,
delivering a pointer to the longest string. As far as I understand, the
Table (or Grid) has one font only, so it can be easily set this way.
Correct me if I'm wrong.
The WordWrap feature is switched on in one of my projects here, but I
cannot find where quickly. Maybe I simply switched it on in the IDE as a
default. Anyway, I'm having difficulties with the height of the line as
it is not adapted automatically (at least this is my problem in Gambas2,
I don't know how this is in Gambas3 yet).
In this context I really like your idea with the label though the way
you use it is not necessary as you have Table.Font.Width to do this:
>
> I tried having a hidden label with auto-resize = false, setting the
> label.text property to the string, reading the width, then setting the
> max width of all the strings to the column width. This works but seems
RSS Feed