Re: [Gambas-user] Fitting a preview into a fixed area

2015-11-04 Thread Rolf-Werner Eilert
A PictureBox: PDF.Open(druck.TempVerz() &/ CStr(VorschauName) & ".pdf") PDF.Zoom = 0.5 Vorschau = PDF[VorschauSeite].Image.Picture 'Where Vorschau is the PictureBox This runs fine e. g. when you set the PictureBox to AutoResize = True as it will automagically follow the size of the PD

Re: [Gambas-user] Fitting a preview into a fixed area

2015-11-04 Thread Fabien Bodard
Well what control did you use for that ? 2015-11-04 13:06 GMT+01:00 Rolf-Werner Eilert : > I am showing a pdf preview. There are landscape and portrait pdfs, and > some are A4, some are A3... > > Instead of following the size, I would like to fit them into a fixed, > square preview area, i. e. the

[Gambas-user] Fitting a preview into a fixed area

2015-11-04 Thread Rolf-Werner Eilert
I am showing a pdf preview. There are landscape and portrait pdfs, and some are A4, some are A3... Instead of following the size, I would like to fit them into a fixed, square preview area, i. e. the A3 ones would have to be shown smaller, but the aspect ratio must be kept of course, not stretc

Re: [Gambas-user] Columns.Width in GridView

2015-11-04 Thread Rolf-Werner Eilert
I found GridView.Columns[x].Expand = False, but it doesn't have any effect. And on the other GridView, it is not set, but it runs like set to False. Strange... Rolf Am 03.11.2015 13:15, schrieb Fabien Bodard: > For 2) set the column width to -1 > > 2015-11-03 11:08 GMT+01:00 Rolf-Werner Eilert