Comments (3)
If you mean form titlebar, then you can override OnLatePaint method and render your own one. Right now it's rendering in normal OnPaint method, and after that form rendering every control it has. In a good way forms should override ClientRectangle property and prohibit rendering everything outside the rect. And it also should affect scrollbars (in the near future may be).
Let me know if you mean something else.
from unity-winforms.
Hm actually it seems all controls wind up covering the title bar. Why does that happen? I copied some control code from a winforms project I made in VS.
from unity-winforms.
Because you need to adjust their location.
myButton.Location = new Point(myButton.Location.X, myButton.Location.Y + 24); // Default HeaderHeight value.
Form is not doing it by it self at the moment. There is some cons and pros to not implement it.
from unity-winforms.
Related Issues (20)
- Buttons do not respond to events HOT 10
- can you add "datagridview"? HOT 1
- Guide for usage? HOT 8
- error CS0019: Operator '==' cannot be applied to operands of type 'DialogResult' and 'DialogResult' HOT 3
- Accessing Unity functionality from WinForms HOT 3
- Why is there no handle attribute HOT 4
- MessageBoxButtons? HOT 1
- Not an issue HOT 2
- Just 2 small questions HOT 3
- Multiselect for OpenFileDialog or ListBox HOT 2
- Creating Custom Events HOT 2
- Can't disable resizing HOT 4
- Is there a way to make the windows more readable on high resolution screens? HOT 1
- How to use it in Unity HOT 1
- any plan to support webbrowser in unity? HOT 3
- Are the windows stuck inside game window? HOT 1
- Question: CodeEditor Sample HOT 1
- Cant do drag and drop
- Code Editor
- Messagebox method overload
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 unity-winforms.