jeremytammik / RevitLookup

Interactive Revit RFA and RVT project database exploration tool to view and navigate BIM element parameters, properties and relationships.
http://thebuildingcoder.typepad.com
MIT License
1.08k stars 298 forks source link

Allow user maximize form full screen #134

Closed chuongmep closed 2 years ago

chuongmep commented 2 years ago

Summary of the Pull Request

What is this about: This is a small update allow user can maximize form full screen, may be will useful if have a long string data or user need expand form to review. Description: Before : image After : Revit_MkbkoOBqJW

Quality Checklist

Nice3point commented 2 years ago

@chuongmep Minimize button disabled?

chuongmep commented 2 years ago

@Nice3point yes, do you want turn on it ?

Nice3point commented 2 years ago

@chuongmep I think yes, otherwise why this button is needed)

chuongmep commented 2 years ago

@Nice3point I added more support minimizeBox size,

Nice3point commented 2 years ago

@chuongmep this is not exactly the behavior that should be) the window is not minimized, but reduced to the minimum size with a slight lag изображение

chuongmep commented 2 years ago

Fixed, because still exist setting AutoScaleBaseSize for form https://user-images.githubusercontent.com/31106432/156343205-2d20c8b9-8f46-4366-88be-5f0cd4bd2e1e.mp4

Nice3point commented 2 years ago

@chuongmep nice!) there was a small visual problem, when the window size is reduced, the OK button is cut off. It's not critical, but can you fix it? I don't know WinForms and can't fix it myself. can bind its size to the size of the table изображение

chuongmep commented 2 years ago

@Nice3point, fixed, only need change some anchor of button. MWwJY8qta9

Nice3point commented 2 years ago

@chuongmep not enough minimum size for other window types) изображение

chuongmep commented 2 years ago

@Nice3point Don't have any problem from me ? https://user-images.githubusercontent.com/31106432/156389759-442cee06-2084-4843-b397-b8433955ed21.mp4

Nice3point commented 2 years ago

@chuongmep try resize

Nice3point commented 2 years ago

@chuongmep I think we need to do the same for all these windows изображение

chuongmep commented 2 years ago

No problem ! @Nice3point https://user-images.githubusercontent.com/31106432/156390543-18aceba0-0a77-4906-9e33-9674a373f2d8.mp4

Nice3point commented 2 years ago

No problem ! @Nice3point https://user-images.githubusercontent.com/31106432/156390543-18aceba0-0a77-4906-9e33-9674a373f2d8.mp4

I meant to resize to a minimum) you need to leave the same part of the window visible as the main window

ParameterView, 0 size изображение

MainWindow изображение

chuongmep commented 2 years ago

oh i see.Let me fix now, sorry for misunderstanding your point :D

chuongmep commented 2 years ago

@Nice3point fixed, include some other Window.

https://user-images.githubusercontent.com/31106432/156392961-014d70e2-d932-40bf-a034-ef014681ffbf.mp4

Nice3point commented 2 years ago

@chuongmep awesome)