Jump to content

Req : Windows size & position in % of screen


XPect

Recommended Posts

Benjamin,

The SplitterPos in % is a good think

But seem not to work properly if wihu is not at default size

With those settings:

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 ?

Link to comment
Share on other sites


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.

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

Link to comment
Share on other sites

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:

[settings]dimension.update = 0

dimension.width  = 80%

dimension.height = 80%

SplitterPos = 20

Link to comment
Share on other sites

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

dimension.width  = 80%

dimension.height = 80%

SplitterPos = 70

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

dimension.height = 80%

SplitterPos = 30

The Help pane (right pane) is still about 70% of wihu width
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

Link to comment
Share on other sites

I've tried 2.1.11.6 and my ini is quite simple

[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 ;)
Link to comment
Share on other sites

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

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

If I use

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

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

Regards

XPect

Sample.zip

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...