Ionic 6: How to custom ion-accordion icon place right after header label - ionic6

I'm trying to implement the follow design:
I'm using ion-accordion, but property "toggle-icon-slot" provide only 2 options to put icon at the start right before header label or at the end.
Is there a way to place the icon right after header label but keep 'ion-accordion' width responsive, because I want 'change' button at right edge of screen.

Related

WIN32: Is there a way to have the button icon (BM_SETIMAGE) on the right side of the text

Is there a way to have a button with text and graphic, with the graphic on the right side of the text, without having to owner-draw the button?
I want to just sent BM_SETIMAGE and whatever else would be needed so the graphic is to the right of the text.
Also, I noticed the image is so tight against the text that it doesn't look good. Is there a way to adjust the margin without having to use a blank space in the text?
Is there a way to have a button with text and graphic, with the graphic on the right side of the text, without having to owner-draw the button?
There are BS_LEFTTEXT and BS_RIGHTBUTTON styles available, but the documentation says they only apply to CheckBoxes and RadioButtons:
Constant
Description
BS_LEFTTEXT
Places text on the left side of the radio button or check box when combined with a radio button or check box style. Same as the BS_RIGHTBUTTON style.
BS_RIGHTBUTTON
Positions a radio button's circle or a check box's square on the right side of the button rectangle. Same as the BS_LEFTTEXT style.
For a standard push button, there does not appear to be a way to control the position of the image other than through owner-drawing.
Is there a way to adjust the margin without having to use a blank space in the text?
Use BCM_SETTEXTMARGIN/Button_SetTextMargin():
Sets the margins for drawing text in a button control.

Centre alignment in CKEditor 4.10 toolbar is disabled when selecting image inserted in the editor

I am using CKEditor version 4.10 in an mail delivery system project for composing emails. I have added justify plugin to get the justify tools in the toolbar. Since this is an email composing, user may want to align the contents(including images inserted) as Left, Right, Centre etc. But even though I can choose Left and Right align buttons in the toolbar after selecting the image, I cannot choose centre align button because it is disabled. Does anyone know how can I enable the centre align button on selecting the images inserted in the editor and can able to align the same in centre too ?
Click right on image then click Image properties option, when page open then click advance Tab and in the style field delete float:right; Or float:left; and just type display:block;margin:auto; . Then you can see image set center on page.

Get Icon's area in tab header of CMFCTabCtrl?

I need to add checkbox in tab header of CMFCTabCtrl. Since I am not finding anything for it, I planned to set icon in tab header.
when click on icon i need to display checkbox with tickmark or without tickmark.
So how to determine that the point is on icon area?

Change Label Text Alignment in App Inventor 2 code block

I would like to know wether we can change the Text Alignment of a label using the App Inventor 2's Code Block. I would like to make a button to select the text alignment position of a label or button.
You can't change the text alignment of a label programmatically in App Inventor
As workaround for example define 2 Labels, one having an alignment left and another having an alighment right and hide the second label. Then after button click copy the text of the label and display the other label instead, see screenshot.

How do I build a toolbar in my title bar?

I have to implement a custom toolbar for my application, where a button will be placed on the side of exit, maximize and minimize buttons.
I tried to work with the toolbar element on XCode, but it always put elements below these buttons and not on the side.
App Store application implement this feature, like you can see in this image.
One solution is to start with this open source code (https://github.com/indragiek/INAppStoreWindow) to give you the correct title bar style, and then position buttons in the titlebar.

Resources