Comments (7)
Hi Roland,
I think the problem is the code
newMDIChild.WindowState = FormWindowState.Maximized;
You should use this code instead
Size s = new Size(this.ClientSize.Width - 8, this.ClientSize.Height - _ribbon.Height - 8); newMDIChild.Size = s;
Your MDI Child should not have a Maximimized Button
Regards
Hartmut
from windowsribbon.
Hi,
Thanks for coming back to me. Using your code did improve a little, but when clicking on Home tab page it appeared again.
When resizing the ribbon, the issue disappeared. But came back after clicking any of the tab pages.
Behavior:
- Once project started, no visible issues
- No issues when I drag it to another monitor
- Clicking between the second and third tab page will resolve the view, but clicking File makes the issue comes back
- Minimizing and maximizing the ribbon will solve the issue as well
Weird thing is that it only occurs whenever I click the File tab page.
from windowsribbon.
Hi,
I think you do maximize the mdi form in an event. Only if I do this in a test, I can reproduce your view.
from windowsribbon.
Hi again,
I reproduced the steps exactly as you suggested and yes, no issues... But... but, but, but...
How can I make the MDI child maximized upon load?
from windowsribbon.
Mdi is not supported by the Ribbon directly. see: Mdi support.
This is the answer of a Microsoft member.
But you can calculate a size for the MDI client without maximizing every time when the main form changes the size.
Or you don't use Mdi. Alternatively, you can use a TabControl with some effort for closing, hiding, ....
from windowsribbon.
Shame, but ok... will use that instead... Thanks anyway for trying.
from windowsribbon.
I have updated the Wiki (News and Hints) with some words for MDI support
from windowsribbon.
Related Issues (9)
- Could you please consider to provide a 'tab click' event? HOT 7
- RibbonPreview doesn't build under windows 10 HOT 2
- [Bug report] Spinner its decimal value can not initialized HOT 2
- FatalExecutionEngineError when accessing ContextAvailable HOT 1
- Rename application menu label HOT 4
- App crash HOT 26
- .Net Cor 5.0 version HOT 1
- Dark Mode/Dark Theme HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from windowsribbon.