Quantcast
Channel: Ionic Forum - Latest posts
Viewing all 228535 articles
Browse latest View live

Ion-button --border-radius not work

$
0
0

I already tried it, not work…

Aaaaaand it’s not work too… yeah…

ion-item {
--border-width: 0;
}

Névtelen-3


Live update of an app?

$
0
0

You can use ionic app flow to automate the updates of your app.

Ion-button --border-radius not work

$
0
0

You wrote asking for help to ion-button but you share here ion-item :slight_smile:

What you need to make? Button with border-radius?
Share you html code of you element, or write more information about what you need to make.

Ion-button --border-radius not work

$
0
0

ion-button border-radius and ion-item border-width

ion-button params: color=“success” expand=“full” size=“large”
ion-item is just a simple ion-item

none of them work

Ion-button --border-radius not work

$
0
0

Try using !important.

ion-item{
--border-width:10px!important;
}

Share you html code of you element. for example

<ion-item color="warning" class="btitle2" *ngIf="i.productos==null">
   <ion-label (click)="dat=!dat">
     {{i.descripcion}}
   </ion-label>
   <span class="vermas_genericos" (click)="genericos(i)">
     ver mas&nbsp; <ion-icon name="arrow-round-forward"></ion-icon>
   </span>
 </ion-item>

that to be able to understand a little more because it doesn’t work for you to see if that’s how you have it organized

Ion-button --border-radius not work

$
0
0
ion-menu {
	ion-content {
		ion-item {
			text-transform: uppercase;
			font-size: 0.9em;
			font-weight: 500;
			--border-width: 0 !important; // just this is what not work
		}
	}
}
<ion-list>
          <ion-menu-toggle auto-hide="false" *ngFor="let p of appPages">
            <ion-item *ngIf="p.auth === undefined || p.auth === null || isAuthenticated == p.auth" (click)="onClickMenu(p)">
              <ion-icon slot="start" [name]="p.icon" color="primary"></ion-icon>
              <ion-label>
                {{p.title}}
              </ion-label>
            </ion-item>
          </ion-menu-toggle>
        </ion-list>

And the button:

ion-button {
	--border-radius: 10px;
<ion-button color="success" expand="full" size="large" (click)="onLoginSelect()">
      Login
    </ion-button>

Chrome cast support

Ion-button --border-radius not work


Ion-button --border-radius not work

$
0
0

Hmm… How can I hide that line?

Ion-button --border-radius not work

$
0
0

I think button with expand=“full” is not edited by border-radius.

Ion-button --border-radius not work

Ion-button --border-radius not work

Rebuild an old app

$
0
0

Sorry to hear you lost your signing key. Unfortunately, once it is lost there is nothing that can be done to recreate it. Since you can not sign the app with the same key, it can not be updated locally nor on the Google Play Store. You have to create a new app id and new store listing. The old app is now an orphan.

Ion-button --border-radius not work

$
0
0

That is a --inner-border-width

try this.

ion-item{
--inner-border-width:0px!important;
}

Ionic 4 side menu does not close on some Android devices

$
0
0

Updated to 4.11.8 from 4.11.5.
This seems to solve the issue for me on Samsung Galaxy Tab Active 2.


Ion-select multiple value issues

$
0
0

You need ngModel and reference by id or position of you array to select list item of you element by click.

Font size difference caused by Android font size settings

$
0
0

The UI didn’t scale well on small screen-dimensional phones and modified the whole user interface when an app set’s “Huge” accessibility choices looked stupid.
What I did was put the following code below in my BaseActivity (an Activity class that all my activities extend from)

public void adjustFontScale(Configuration configuration) {
    if (configuration.fontScale > 1.30) {
        LogUtil.log(LogUtil.WARN, TAG, "fontScale=" + configuration.fontScale); //Custom Log class, you can use Log.w
        LogUtil.log(LogUtil.WARN, TAG, "font too big. scale down..."); //Custom Log class, you can use Log.w
        configuration.fontScale = (float) 1.30;
        DisplayMetrics metrics = getResources().getDisplayMetrics();
        WindowManager wm = (WindowManager) getSystemService(WINDOW_SERVICE);
        wm.getDefaultDisplay().getMetrics(metrics);
        metrics.scaledDensity = configuration.fontScale * metrics.density;
        getBaseContext().getResources().updateConfiguration(configuration, metrics);
    }
}

And called it right after my super.onCreate() like so

adjustFontScale(getResources().getConfiguration());

What this code does is identify whether the user sets its font scale to more than 1.30f (1.30f is “large” on Note 5 but probably varies somewhat from one device to the next). If your user sets your font too big (“Extra Large,” “Huge”…) we just size the app to “Large.”

Other Tip:
You can set their width / height with sp instead of classical dp if you want certain layouts to scale with your custom fonts ( weird font text) (say, a Relative Layout that is used to build backdrop to your fonts). The layout changes with the fonts on your application when a user changes their font size. Nice little trick.-Nice little trick.

Get the cursor position inside ion-textarea

$
0
0

I am having the same issue, please post the solution to this. I want to get the selectionStart from an ion-textarea when a button is clicked.

Thanks
Joel Stevick

Ion-button --border-radius not work

$
0
0

Thank you!

The ion-button border-radius works with expand=“block”
Just with expand=“full” not works

Thanks for help!

Ion-button --border-radius not work

$
0
0

Ye i told you that.

Don’t forget mark to solve.

You are welcome.

Viewing all 228535 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>