Increase height of converse-muc-embedded window - converse.js

Hi I am using conversejs client with converse-muc-embedded. I want to increase the height of the conversejs window that is populated. Is there a setting to do that ?

The height is specified in a Sass file.
You can change it there:
https://github.com/jcbrand/converse.js/blob/7c831e1166f9887a2739af0fd8038e16a8a7f7a8/sass/_muc_embedded.scss#L49
You then have to regenerate the CSS files by executing make css inside the repo.

Related

Dynamically Resize Controlled TinyMCE React Component

Background: we have TinyMCE React inside a few contexts where the parent element is manually resized by the user (resizable modal dialog, etc.) and we want the TinyMCE component to resize appropriately. In older versions, we did this using the resizeTo functionality documented here. However, that no longer seems to be available after the upgrade.
My previous attempt to resolve this involved using a key based on concatenating the width and height of the editor with a debounce while it was resizing. Basically, whenever the size changed by enough, I tore down the old component and rendered a new one whose config options included the new size. While this is largely effective, it causes an issue where, when you attempt to edit the field after resizing, it flickers and loses focus initially.
Unfortunately, we are using pixel-based size calculations, so specifying the height in percentages instead of pixels won't work.
What is the new official way to do this? Ideally, there would be some new version of editor.theme.resizeTo that we could use instead and dispatch with the key-based solution entirely, but I was unable to find it in any of the documentation.
Just wrap the editor in a div which has the calculated height and width, and then set the editor to height and width of 100%.

2sxc | WYSIWYG html editor table cell width

I wish to have the default table width display in the editor at a width that is visible as currently the default is close to zero width. The screenshot below shows the default width and below that is when you specify a set width via the properties option. Is there a way to have the table default to a certain desired width? Thx
At the moment not. There are various wishes for customizing the tinymce, but before we provide specific solutions we must find a generic method for custom configuration, as we want to be sure that we don't have to support tinymce as well. So this won't be available for some time, unless someone works out a solution and contributes it.
Why is it not possible to configure tinymce at the "normal" way with tinymce.init...?

Resize Eclipse RCP Part

I'm creating an application using eclipse RCP, I have many Part and I want to resize them. Some of these parts don't need many space.
I've checked in Application.4xmi but I didn't found anything helpful.
Any ideas?
You can set the size of a Trimmed Window in the Application.e4xmi by setting the Bounds width and height values.
Usually you then use PartSashContainer to divide up the window. You specify a percentage used for each child in the Container Data for the child.

Divshot static container width with Bootstrap

Is it possible to define fixed container widths in Divshot, if so where?
Trying to make a 960px based site which isn't used for mobile.
I would like the container fixed so its children fill it but don't resize with the browser window.
We include the Bootstrap responsive styles by default (and as of Bootstrap 3 it will be baked into the framework). When you export your code you can remove the extra call but at present there is no option to do so.

How can I create a fixed size Gtk.TextView in Gtk+3?

I have a Gtk.TextView inside a Gtk.Fixed and I set it its width and height and wrap mode.
My problem is that I need to avoid the TextView expanding when the user inserts more text than what fits in the set size. In that case I just need to prevent the user from keeping writing.
Any help?
If you have a single line entry as input better use textentry instead of textview.
For text entry your can set the maximum length of textentry.
For development of UI using glade.
Moreover if your UI changes depending on configuration file from server,
there is a solution for this also, have all the widgets in the window, show/hide the widgets depending on the config file from server.
why dont you use GLADE for UI development ?.
It provides more handy ways to achieve your task.
In glade you have all the options to set, you can cross verify and check in real time.