This module is awesome, thank you!
I'd like to ask a way to configure a custom fixed width? (I need to have a spreadsheet with 830px, for example)
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | Capturemarginleft200.png | 29.57 KB | FH |
This module is awesome, thank you!
I'd like to ask a way to configure a custom fixed width? (I need to have a spreadsheet with 830px, for example)
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | Capturemarginleft200.png | 29.57 KB | FH |
Comments
Comment #1
infojunkieThanks for your feedback!
Currently, there isn't a way to set the width explicitly. You can control the width from the code by editing sheetnode.js, function
Drupal.sheetnode.startUp(), and changing the lineto
where the added parameter is the desired width.
In the future, I will add controls for sheet width and height.
Hope this helps!
Comment #2
fraguas commentedwow! Thanks, Kratib! It fits like a glove in my needs!
Comment #3
infojunkiePostponed until I work on controls for sheet width and height.
Comment #4
umina commentedI believe the example above is outdated a bit.
Look for this line
this.spreadsheet.InitializeSpreadsheetControl(Drupal.settings.sheetnode.element, 700);
And change it to this
this.spreadsheet.InitializeSpreadsheetControl(Drupal.settings.sheetnode.element, 700,700);
where the second 700 is the width of the spreadsheet.
This is a GREAT module!
/Len
Comment #5
k3vin commentedIs it possible to set a fluid width with percent value or a padding on the right side instead of fixed size?
Comment #6
infojunkieHere's how I fixed the width problem in the latest dev:
* By default, the spreadsheet extends to the available width given to the DIV.
* Clicking the SocialCalc icon in the bottom-right corner of the sheet takes the sheet fullscreen. Clicking it again restores its original position.
Someone please try it (12 hours from now) and let me know if it works!
Comment #7
k3vin commentedinfojunkie, your patch works for me. Fluid width and the cool fullscreen feature works too. Thank you!
Comment #8
FH commentedbonjour,
je n'écris pas assez bien l'anglais pour m'expliquer dans cette langue.
Je construit actuellement un nouveau thème pour le site de mon école.
je me suis aperçu que la marge gauche du contenant dans lequel je place un contenu sheetnode avait une influence sur l'aspect du côté droit du tableau.
La disposition et la largeur de la partie principale de ce tableau est la bonne, mais l'écart entre le tableau et la barre verticale de navigation droite correspond à cette marge.
Si à la place d'une marge externe (margin) j'utilise une marge interne (padding) je n'ai pas ce problème, mais ce n'est pas ce que je recherche.
merci de votre aide
Comment #9
infojunkie@FH: je crois comprendre ce qui se passe, merci pour l'info. Je vais essayer de reproduire puis resoudre ce probleme. A l'avenir, je prefererais que tu ouvres un nouveau ticket au lieu d'en reutiliser un existant.
Comment #10
infojunkie@FH: pour m'aider a reproduire ce probleme, j'aurais besoin de 1) soit ton theme en entier, 2) soit accès lecture a ton site Drupal.