I just wanted to find out if it's possible to disable image resizing in the Design mode of the Telerik:RadEditor?
The image resizing is part of the browser's rich editing engine and AFAIK there is no code in the RadEditor to control it. You can try to find a general solution (e.g. Firefox - designMode: disable image resizing handles) and apply it in the editor's content area.
Related
I am creating an AMP story for my project with fullHD screens. I am trying to disable the "fullscreen mode" which is automatically turned on when the browser has some specific resolution. I need to get only fullscreen story without the background and buttons etc. I use screen 9:16 (1080x1920).
Example:
https://people.com/amp-stories/royal-a-to-z/
Screenshots:
Right - https://drive.google.com/file/d/1PZmG1HOfC7TkwEgD-xTeWfalI-kkaVaD/view?usp=sharing
Wrong - https://drive.google.com/file/d/128Qcg4cl4H2pUC0TxYvPG0vg_PIXPJML/view?usp=sharing
It is not currently possible to control which experience is used from the source code of the story; these default experiences are baked into the JavaScript of amp-story. If you are hoping to use this in e.g. a kiosk environment where you are looking to modify the behavior in a single browser window, you can increase your browser's zoom level to accommodate the larger screen resolution, and the desktop experience should not get triggered.
Is there a way to adjust the thickness of the scrollbars of a WebView using the stylesheet used by the whole JavaFX application?
I am a bit confused since
on the one hand I read that the scrollbars are not part of the JavaFX UI control and therefore can only be customized by a stylesheet set on the web engine (webview.getEngine().setUserStyleSheetLocation(..)) which means I have to write another CSS trying that the scrollbars look like all other scrollbars in the application
and on the other hand I can see that the scrollbars are obviously correctly customized using the JavaFX CSS except the thickness of the scrollbars (and that the vertical scrollbar is always shown even if the loaded page requires no scrollbars at all)
So where am I wrong and which is the correct way to solve this problem?
Thanks in advance!
I'm facing a trouble with a RadWindow, from the Telerik Library. I'm adding Telerik in my asp.net project through DLLs and when I try to load an icon in the top left part of the window, it doesn't display anything.
After searching for a bit, I found that the size of my icon was the source of my miseries. I'm trying to load 128x128 icons where the width and height of my RawWindow icon is set to 16x16 in the css file.
Now my question : How can I manage to change the width and height of my RadWindow's icon ? I have subclassed RadWindow so I could write some CSS in my code-behind, but after trying for a while, I can't manage to find a way to do it !
I also tried to write some css code in my website default css file, without much success neither!
Can somebody provide me a solution to this please ?
Your title seems to indicate that you have an issue setting the icon size; however your question seems to indicate that your issue is really how to set the window size. If the latter, then this should do it:
Client-side, you can use setSize
wnd.setSize(400, 400);
And server-side you can use Width, Height, etc.
When using the PopUpManager in Flex with modal = true, the background application is blurred. Is it possible to keep this blur for most of the background application but set certain components to not be blurred?
No, you'll need to create this type of custom functionality - the modal screen is either on or off.
Sorry for the bad news :\
How do I skin shadowbox and make sure popup size is fixed size?
The css part is ok since it's just overriding ids and classes.
However, I'm not sure what the markup.js is supposed to look.
So here are my questions:
I created shadowbox-custom-skin/markup.js and added the hook like:
add_filter('shadowbox-markup', 'shadowbox_custom_markup');
Now I can't find an example of how the markup.js is supposed to look.
(I'm trying to put the sb-nav div before the content and the sb-title div below the content and also add some new parameters).
I fixed the size of the popup using this method:
rel="shadowbox;width=480px;height=240px"
handleOversize resize no longer works. Meaning, it will resize content, but it's squeezed.
How do I make sure the popup is the same size, but oversized content isn't squeezed and small content is just centered?
You don't really need to tweak javascript to do this. Using the property inspector on your browser or the Firebug plugin, right click on the Shadowbox and see what css classes/ids are being used. Put those css classes/ids in your own stylesheet apply the styles you want. Then upload the file to your server.