• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Companion not honouring task bar
#1
On my Windows system, the task bar is always visible i.e. "Auto Hide" is not checked..
This means that I always have to maximise the "batch import" dialog to see the Cancel and OK buttons at the bottom of the dialog; they need to be visible to access because these buttons don't have accelerator characters.

Any chance that the program could be modified to use the Screen.WorkAreaHeight rather than the Screen.DeskTopHeight (these are Delphi terms)?. This should then handle systems that don't hide the taskbar.


No rush

Cheers
Geoff
Samsung Galaxy Tab A6
Reply
#2
WPF doesn't really have a setting for constraints like that (to my knowledge). The batch import dialog's current default height is necessary to allow all of the content to be seen. It takes up only a portion of my 1900x1200 monitor. What size monitor are you running on where it doesn't fit vertically? If I shrink the dialog, the OK/Cancel are always visible. Perhaps it would help if you take a screenshot of what you are seeing.
Reply
#3
Thanks for replying.

I'm using 1024*768.

This article indicates how to get the screen dimensions in WPF (but probably needs some reworking).
http://stackoverflow.com/questions/19275...een-in-wpf

Not sure how I attach an image in this forum; suspect I have to post it somewhere and then provide the url.

Geoff
Samsung Galaxy Tab A6
Reply
#4
Geoff,

The dialog has a default height of about 800 pixels. I incorrectly assumed that would work on most screens. I can add code to clamp that to the available screen space.

Mike
Reply
#5
Suggest you use min(default height, workarea height).
That will give the current behaviour for users with large display sizes; for smaller displays, this should result in the central scrollbox (collections etc) having a scroll bar.


Many thanks

Geoff
Samsung Galaxy Tab A6
Reply
#6
Many thanks for adjusting the height of the batch import dialog - it works for me.

Did have a slight problem (twice) trying to update the companion using your "automatic" mechanism. Although it downloaded the update (not sure where), it couldn't execute it (said "perhaps virus checker running" - or something like that). In the end, I just downloaded it manually from your web site and it installed first time.

Cheers
Geoff
Samsung Galaxy Tab A6
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2018 MyBB Group.