Comments (2)
Yes that is intended behaviour but you can work around it. There is a bigPercentage
which you set which hard codes the percentage of space that the big area will take up. But there is also a minBigPercentage
. If you set that then you can make the big area take up less space if it doesn't need to take it all up. It looks like right now you have the big percentage set to 0.8 (80%). But you probably want to set the minBigPercentage
to something like 0.6. That will allow the small widgets to get bigger in this example and remove some of that extra space in between.
from opentok-layout-js.
Thank you for your quick reply, that works perfectly.
from opentok-layout-js.
Related Issues (20)
- The "Mute" button flies up when adding a stream HOT 1
- scaleLastRow: false still scales the last row HOT 1
- Include containerWidth and containerHeight in readme
- Include containerWidth and containerHeight in readme HOT 1
- [Question] Is it possible to implement this layout? HOT 5
- Small items are right aligned HOT 1
- By removing OT_big from element, does it effect the resolution? HOT 1
- How i can put the addEventListener( 'dblclick',.. on other subscriber streams with opentok
- OpenTok Layour Example with Open tok
- Changelog : Any breaking changes from v3.1.0 to v5 ? HOT 1
- deprecated actions
- feature-request: typescript definitions
- How do we add a an option like "OT_big" on an other class other than subscribers and publishers? HOT 2
- Integration with React Opentok
- Padding Around Video Elements HOT 1
- Layout Doesn't Work HOT 1
- Padding, Border, and Margin not taken into account due to camelCase CSS property names
- Layout Doesn't Work
- Layout works when window is resized, otherwise sometimes it doesn't 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 opentok-layout-js.