ubuntu gnome – Prevents psensor shifting thanks to digit change on the label of the application indicator

Sorry in advance for this kind of concern :), but is it possible to prevent the psensor display from shifting if one of the sensor labels wins / loses a digit?

These screenshots are not precise, but they could help to show what I mean.

Enter the image description here

Enter the image description here

I really like it when the sensor label is shown on the application indicator because it allows me to monitor resource usage and availability. However, if the numbers change by one digit, I notice this (especially since I sometimes expect updates from other apps that also display the icon).

I believe that a fixed placeholder for ten (and a hundred) digits would solve this problem. The other solution, of course, is to reduce the update interval, but that would of course not be optimal.

7 – How to label a node and take the values ​​from a node in a block and place them in fields of the labeled node

I create a calendar view with the available sessions of a teacher (role). Every session has one global flag called "Book Session". A student (a role) can have multiple courses, but only one needs to be displayed above this view, and if the student marks / books a session, the student must username should be put in a reference field of this session and the course name (or id?) should be put in the Heading Reference Field this session.

How do I collect the data from that particular course node and use rules to set that data?

Forms – How do you see the label instead of the value in custom Autocomplete-Drupal 8?

I created a custom autocomplete field and it did like typing & # 39; a & # 39; works. It shows me the entire list of fruits with the letter & # 39; a & # 39 ;. But when I click on one of the options. I see the auto-completion field & # 39; value & # 39 ;.

I want the functionality at the user when they're & # 39; a & # 39; Enter, & # 39; Apple & # 39 ;, & # 39; Avocado & # 39; should display. and when you click on it, the box should say "Apple" and not "Fruit-1".

The code follows:

Custom form:

 'textfield',
      '#title' => t('Searchfield'),
      '#autocomplete_route_name' => 'custom_google_search.autocomplete',
      '#value' => 'aaa11',
    );
  $form('search_in_us') = (
    '#type' => 'submit',
    '#value' => $this->t('Search'),
    );
      return $form;
  }

  /**
   * {@inheritdoc}
   */
  public function validateForm(array &$form, FormStateInterface $form_state) {

  }

  /**
   * {@inheritdoc}
   */
  public function submitForm(array &$form, FormStateInterface $form_state) {

  }
}

Autocomplete Controller:

query->get('q')) {
      $typed_string = Tags::explode($input);
      $typed_string = Unicode::strtolower(array_pop($typed_string));
      $trimed_string = preg_replace("/s+/", "+", $typed_string);
      $results = $this->showRelatedPlaces($trimed_string);
    }
    return new JsonResponse($results);
  }

  public function showRelatedPlaces($trimed_string) {
    try {
       $results = (
         (
           'value' => 'fruit-1',
           'label' => 'Apples',
         ),
         (
           'value' => 'fruit-2',
           'label' => 'Apricots',
         ),
         (
           'value' => 'fruit-3',
           'label' => 'Avocados',
         ),
       );
      return($results);
    } catch (RequestException $e) {
    return($this->t('Error occured.'));
  }
 }  
}

The problem is that I & # 39; a & # 39; in the text box for autocomplete. It shows me the fruit label (apple), but when I click on the fruit label. The field value shows & # 39; fruit-1 & # 39 ;. I want to display "Apple" when a user selects an option.

PS: I don't want to use the same value for label and value. (Apple for label and value).

Website design – Which label text is suitable for "Enter email address"?

I wouldn't just use a placeholder because of browser support. Not all old browsers support the placeholder! Take a look at this stackoverflow question and this placeholder support article.

And I wouldn't use the term "email id". Many users are confused about the "ID". I have also heard many stories about the confusion of "Yahoo ID".
"Should I enter an email or username here? Do I have a Yahoo username?"
Just use "email". It is simple and clear for all users.

For me it is therefore the best method to use a label with "email" and a placeholder with a sample email:

<img src = "https://i.stack.imgur.com/tpPgn.png" alt = "Email entry example:

To edit
I found an interesting article about your question "Email or E-Mail".
It is said that you should use official ones E-mail,

A group called Email Experience Council has declared the official term as email.

But many famous companies (e.g. Microsoft) also use it E-mail, And in my opinion, email looks even better for me.
But keep your own advice and take a look at The Fiction Desk's article.

Edit 2
I think I've found the secret of email / email!
There is a really interesting part about spelling in Wikipedia:

E-mail is the most common printed form and is recommended by some
prominent journalistic and technical style guides. According to the Corpus of Contemporary American English, this is the
Form that appears most frequently in edited, published American
Write English and British English.

E-mail is the most frequently used form online and is required by IETF Requests for Comment and working groups as well as increasingly by style guides. This spelling also appears in
most dictionaries.

mail was the form used in the original RFC. The service is called email, and a single email is called a message. Email, in which only the letter M was capitalized, was common among ARPANET users and the early developers of Unix, CMS, AppleLink, eWorld, AOL, GEnie and Hotmail.

E-mail is a traditional form used in RFCs for the "author address" and is expressly needed "for historical reasons".

E-mail is sometimes used, with the initial letter E uppercase, as in similar abbreviations as electric piano, electric guitar, A-bomb, H-bomb and C-section.

Source en.wikipedia

And the reason why I like e-mail the most is that I come from Switzerland, where I speak German. And in the German dictionary there is "E-Mail", the official version.
Source de.wikipedia

Plot – Label Callout as a symbol instead of numeric values

I have this code:

AllData = Import("https://pastebin.com/raw/TARH18Hm", "Table");
Do(Spec(2*i) = AllData((All, (2*i + 1) ;; (2*i + 2))), {i, 0, 9});
peakpositions = FindPeaks(Spec(18)((All, 2)), 3, 1, 400);
peakswavelength = Spec(18)((#1, 1)) & @@@ peakpositions;
peaks = Transpose({peakswavelength, peakpositions((All, 2))});
ListPlot({Spec(18), Callout(#, Rotate(#((1)), 0), Above) & /@ peaks}, 
PlotRange -> All, Joined -> {True, False})

What creates that:

Enter image description here

I have labeled five main peaks, but I want to replace the numeric labels with five marks such as a filled circle, a filled square, etc. How can I do that?

Ease of use – label bold & input normal vs. Label normal & entry in bold

I am new and my first Enter image description herethe question is: Lettering in bold & input normal vs. Lettering normal & entry in bold

This is a wireframe example of a future corporate style guide. The style guide says: Option B (normal label, entry in bold), focus on the content in the text fields. I've never seen anything like it. What is your opinion? What advantages could option B have?

This form is part of a software for large numbers (dozen text entries) in the area of ​​accounting.

The style decision comes from one of the best UX agencies in Europe. I want to understand your goal.

B2B environment. Desktop software.

Thanks a lot!

8 – How do I move a form label after the input field?

I have a content type form. The form name is shown here in front of the input field as in the following screenshot.

Enter image description here

Is there an available module? Is there a possible solution? Please help me fix this.

For some reason I want to display the label after the input field.