How to change height of Angular-maaterial components? - angular-material2

I am trying to reduce the size of material toolbar but when i try to reduce the size my title gets hidden inside the toolbar , And when i try to override mat-toolbar-row class it is not injected[Sorry for $ it wasn't actually present]

I guess there is no ways to change component height as well as other non teeming related properties.
material2 implements components from the material design specification, which consists of strict guidelines for each component.
The only things that are allowed to be changed is colors scheme.

Related

Can StackLayout in Xamarin.Forms use "weight" like Linearlayout of Android?

I'd like use BoxView to present timelines, and each color of the lines represents a kind of task.
I have used Grid to do this. However, you know, minute is a small unit so that there are hundreds of rows in one page. That leads to a performance problem.
With Xamarin.Android, I can use Linearlayout, set height "0dp" and set weight attribute a suitable value to do this.
Well, can StackLayout do so? If not, which other layout should I use.
effect drawing

How to desaturate canvas group in Unity

How to get access to custom canvas group shader? I need to desaturate all child of game object situated on canvas. Something like canvas group component that provide possibility to change alpha of all child objets.
Unity might be using a more elegant solution by hiding their implementation of setting the alpha via the CanvasGroup component in their C++ part of the engine.
For now it looks like there is no other way than to set the material property on all UI elements (UnityEngine.UI.Graphic) with a custom material.
Remember, you can download the official shader source files. ;) There's a default UI shader, which you need to modify to add additional color functionality.

Z-index of map objects

Is it possible to specify Z-index of map objects in Carto Mobile SDK?
I am creating some objects on the map, but I can't control its z-index. I understood that the more closer to bottom object is situated the more closer to user it is displayed (z-index bigger). However, do we have ability to specify it manually?
Problem is in the popup I want to show to user. It is displayed under all map markers.
Xamarin.iOS is used.
For Billboards like Popups and Markers you can set placement priority to larger than 0 (which is the default). This is given in Style level, via StyleBuilder:
BalloonPopupStyleBuilder builder = new BalloonPopupStyleBuilder();
builder.PlacementPriority = 1;

Does the react-virtualized Masonry component support setting the scrollTop or scrollToIndex values?

I've implemented a Masonry layout that adjusts dynamically to the window size and it all works very well. I calculate its height and width and reset the cell measurements when any outside dimensions change.
I just need to be able to programmatically slide into view a specific item while it is being edited as well as scroll back to top programatically. Is this possible? I've tried to set scrollTop or scrollToIndex but it has no effect (unlike List). I have the feeling that I'm missing something obvious.
Thank you!
Unfortunately, the Masonry component does not currently support a scrollTop prop (other than a partial support required to work with WindowScroller). I would be willing to review a PR adding this functionality, but whether it landed would depend on the complexity. :)

how to set width,height of telerik RAD Calendar

In my asp.net web site project I want to make rad calendar control smaller programmatically that get rendered by default to the browser(which is quite big for my requirement).I tried setting height and width of the control it doesn't work.How can I fix this?
RadCalendar calendar = new RadCalendar();
calendar.Width = x;
calendar.Height = y;
Panel1.Controls.Add(calendar);
Each of the Telerik Skins actually have a minimum height and width setting for the RadCalendar in order to ensure that the visual styles of the control are not broken. As you can imagine modifying the width and height to arbitrary settings could skew the look and feel of the control quite a bit. What you can do, however, is either modify one of the existing skins or create your own. This section in their online documentation covers how to change the appearance, and the specific article covers how to create a custom skin.

Resources