MSFN Forums: Req : Windows size & position in % of screen - MSFN Forums

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Req : Windows size & position in % of screen Rate Topic: -----

#1 User is offline   XPect 

  • Junior
  • Pip
  • Group: Members
  • Posts: 80
  • Joined: 18-June 04

Posted 26 September 2004 - 09:23 AM

Benjamin,

The SplitterPos in % is a good think
But seem not to work properly if wihu is not at default size
With those settings:

Quote

dimension.width  = 900
dimension.height = 650
I'm obliged to set SplitterPos=5 to get only 1/3 of wihu windows for the help pane.

Is it possible to get the same thing for windows size in % of screen ?
This should help in case of different resolutions.
Could be
dimension.width% = from 0 to 100
dimension.height% = from 0 to 100
(while 0 is a stupid value could start at 20 maybe)

In the same time is it possible to have an automatic recentering of wihu depending on screen size and windows size ?

Ad Bot #1 User is online   Sponsor Icon

  • Advert Bot
  • Group: Ad Bots
  • Posts: 0
  • Joined: --

Warn Status

Warning level: 0%

0
  • +
  • -

#2 User is offline   BenjaminKalytta 

  • Developer
  • PipPipPipPip
  • Group: Members
  • Posts: 609
  • Joined: 08-June 04
  • Location:Bad Kreuznach

Posted 26 September 2004 - 10:20 AM

XPect said:

The SplitterPos in % is a good think
But seem not to work properly if wihu is not at default size


Yes seems to be a bug. I'll fix this.

Quote

Is it possible to get the same thing for windows size in % of screen ?


I'll support dimension.width/height=0...100% (if % character is detected, it will be interpreted as percentage of desktop width)

Benjamin

#3 User is offline   XPect 

  • Junior
  • Pip
  • Group: Members
  • Posts: 80
  • Joined: 18-June 04

Posted 26 September 2004 - 11:12 AM

Tried this

Quote

dimension.width  = 80%
dimension.height = 80%

Not working, wihu come back to standard dimensions

If this could help, my screen is 1680x1050

XPect

#4 User is offline   BenjaminKalytta 

  • Developer
  • PipPipPipPip
  • Group: Members
  • Posts: 609
  • Joined: 08-June 04
  • Location:Bad Kreuznach

Posted 26 September 2004 - 11:21 AM

Not so fast ;) Now you can try it. You can specify either size in pixels or in %.
Splitterposition is also set corret now.

Benjamin

#5 User is offline   XPect 

  • Junior
  • Pip
  • Group: Members
  • Posts: 80
  • Joined: 18-June 04

Posted 26 September 2004 - 11:40 AM

Sorry :lol:

I've understud that it was already in...
But you develop like thunder :thumbup

With respects

XPect


Note: % for dimension work like a charm, but splitter still bug

Used this:

Quote

[settings]dimension.update = 0
dimension.width  = 80%
dimension.height = 80%
SplitterPos = 20


#6 User is offline   BenjaminKalytta 

  • Developer
  • PipPipPipPip
  • Group: Members
  • Posts: 609
  • Joined: 08-June 04
  • Location:Bad Kreuznach

Posted 26 September 2004 - 12:42 PM

Hmm, no problem here. can you describe your problem?

benjamin

#7 User is offline   XPect 

  • Junior
  • Pip
  • Group: Members
  • Posts: 80
  • Joined: 18-June 04

Posted 26 September 2004 - 01:26 PM

I don't know how to post the screen capture, so I will try to explain

Quote

dimension.width  = 80%
dimension.height = 80%
SplitterPos = 70
The Help pane (right pane) is about 90% of wihu width

Quote

dimension.width  = 80%
dimension.height = 80%
SplitterPos = 30
The Help pane (right pane) is still about 70% of wihu width

Quote

dimension.width  = 80%
dimension.height = 80%
SplitterPos = 5
The Help pane (right pane) is still about 60% of wihu width

Hope this help to understand

XPect

#8 User is offline   BenjaminKalytta 

  • Developer
  • PipPipPipPip
  • Group: Members
  • Posts: 609
  • Joined: 08-June 04
  • Location:Bad Kreuznach

Posted 26 September 2004 - 01:50 PM

Hmm, seems that you are usoing an old version, please redownload it again. Newest build is 2.1.11.5.
I tried each config you mentioned, everything works well here.
Or just take a look in your install.ini, maybe there is something twice ;)

Benjamin

#9 User is offline   XPect 

  • Junior
  • Pip
  • Group: Members
  • Posts: 80
  • Joined: 18-June 04

Posted 26 September 2004 - 02:47 PM

I've tried 2.1.11.6 and my ini is quite simple

Quote

[settings]dimension.width  = 80%
dimension.height = 80%
SplitterPos = 20
defaulthelp = DefaultHelp.rtf
Anyway I will check on another machine tomorrow I thinks this one need a little rebuild ;)

#10 User is offline   BenjaminKalytta 

  • Developer
  • PipPipPipPip
  • Group: Members
  • Posts: 609
  • Joined: 08-June 04
  • Location:Bad Kreuznach

Posted 26 September 2004 - 03:06 PM

Just make 3 screenshots or so, would help me more if there is really a problem.

benjamin

#11 User is offline   XPect 

  • Junior
  • Pip
  • Group: Members
  • Posts: 80
  • Joined: 18-June 04

Posted 28 September 2004 - 04:50 AM

Hello Benjamin,

Devinitively can't post images there so I've join a small fil with 2 samples of splitterpos problem.

[Edit]
Found the problem, it come from the command line.

If I use

Quote

wihu /usecurrent /skiprestart /skipsettings /INI=registry.ini
The splitterpos is ignored (but dimension.width and dimension.height works)

If I use

Quote

wihu /usecurrent /skiprestart /INI=registry.ini
everything work

Seem to be a little bug anyway :whistle: ;)

Regards

XPect

Attached File(s)



#12 User is offline   BenjaminKalytta 

  • Developer
  • PipPipPipPip
  • Group: Members
  • Posts: 609
  • Joined: 08-June 04
  • Location:Bad Kreuznach

Posted 28 September 2004 - 11:58 AM

Hmm, this is a completely other situation. You should had said that you use /Ini switch and /SkipSettings.
Nevertheless, bug is fixed now B)

Benjamin

This post has been edited by BenjaminKalytta: 28 September 2004 - 12:23 PM


#13 User is offline   XPect 

  • Junior
  • Pip
  • Group: Members
  • Posts: 80
  • Joined: 18-June 04

Posted 28 September 2004 - 01:18 PM

Completly forget this batch :whistle:

Thanks anyway

Last time I bother you, promised... until next :lol:

XPect

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users