Home
last modified time | relevance | path

Searched refs:max_text_width (Results 1 – 25 of 98) sorted by relevance

1234

/dports/sysutils/herbe/herbe-1.0.0/
H A Dherbe.c32 int get_max_len(char *string, XftFont *font, int max_text_width) in get_max_len() argument
38 if (info.width > max_text_width) in get_max_len()
40 eol = max_text_width / font->max_advance_width; in get_max_len()
43 while (info.width < max_text_width) in get_max_len()
59 if (info.width <= max_text_width) in get_max_len()
126 int max_text_width = width - 2 * padding; in main() local
136 …et_max_len(argv[i], font, max_text_width); eol; argv[i] += eol, num_of_lines++, eol = get_max_len(… in main()
/dports/audio/spectmorph/spectmorph-0.5.2/glui/
H A Dsmmenubar.hh106 double max_text_width = 0; in draw() local
110 max_text_width = std::max (max_text_width, du.text_width (menu->items[i]->text)); in draw()
114 …du.round_box (sx, height() + space, max_text_width + 32, menu_height, 1, 5, ThemeColor::FRAME, The… in draw()
121 …du.round_box (sx + 4, starty, max_text_width + 24, 16, 1, 5, Color::null(), ThemeColor::MENU_ITEM); in draw()
128 … du.text (menu->items[i]->text, sx + 16, starty, max_text_width, 16, TextAlign::LEFT); in draw()
130 menu->items[i]->ex = sx + max_text_width + 32; in draw()
/dports/deskutils/ausweisapp2/AusweisApp2-1.22.2/resources/qml/Governikus/ProgressView/+mobile/
H A DProgressView.qml49 Layout.maximumWidth: Style.dimens.max_text_width
61 Layout.maximumWidth: Style.dimens.max_text_width
77 Layout.maximumWidth: Style.dimens.max_text_width
88 Layout.maximumWidth: Style.dimens.max_text_width
/dports/audio/drumgizmo/drumgizmo-0.9.19/plugingui/
H A Dtooltip.cc130 max_text_width = 0; in preprocessText()
146 max_text_width = std::max(max_text_width, font.textWidth(line)); in preprocessText()
163 resize(max_text_width + 2*x_border, total_text_height + 2*y_border); in show()
H A Dtooltip.h73 std::size_t max_text_width{0};
/dports/deskutils/ausweisapp2/AusweisApp2-1.22.2/resources/qml/Governikus/ProgressView/+desktop/
H A DProgressView.qml44 width: Math.min(parent.width - (2 * Constants.pane_padding), Style.dimens.max_text_width)
61 width: Math.min(parent.width - (2 * Constants.pane_padding), Style.dimens.max_text_width)
79 width: Math.min(parent.width - (2 * Constants.pane_padding), Style.dimens.max_text_width)
/dports/devel/anjuta/anjuta-3.34.0/libanjuta/
H A Danjuta-command-bar.c44 gint max_text_width; member
93 self->priv->max_text_width); in anjuta_command_bar_get_property()
110 self->priv->max_text_width = g_value_get_int (value); in anjuta_command_bar_set_property()
208 gtk_label_set_max_width_chars (GTK_LABEL (button_label), self->priv->max_text_width); in anjuta_command_bar_add_action_group()
/dports/deskutils/ausweisapp2/AusweisApp2-1.22.2/resources/qml/Governikus/ChangePinView/+mobile/
H A DChangePinViewContent.qml47 Layout.maximumWidth: Style.dimens.max_text_width
61 Layout.maximumWidth: Style.dimens.max_text_width
76 Layout.maximumWidth: Style.dimens.max_text_width
/dports/editors/helix/helix-0.5.0/helix-term/src/ui/
H A Dmarkdown.rs223 let max_text_width = (viewport.0 - padding).min(120); in required_size() localVariable
229 if content_width > max_text_width { in required_size()
230 text_width = max_text_width; in required_size()
231 height += content_width / max_text_width; in required_size()
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/network/
H A Dmulti_dogfight.cpp386 float max_text_width = max_item_width * 0.8f; in multi_df_blit_kill_matrix() local
402 gr_force_fit_string(squashed_string, CALLSIGN_LEN, (int)max_text_width); in multi_df_blit_kill_matrix()
432 gr_force_fit_string(squashed_string, CALLSIGN_LEN, (int)max_text_width); in multi_df_blit_kill_matrix()
456 gr_force_fit_string(squashed_string, CALLSIGN_LEN, (int)max_text_width); in multi_df_blit_kill_matrix()
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/network/
H A Dmulti_dogfight.cpp393 float max_text_width = max_item_width * 0.8f; in multi_df_blit_kill_matrix() local
409 font::force_fit_string(squashed_string, CALLSIGN_LEN, (int)max_text_width); in multi_df_blit_kill_matrix()
439 font::force_fit_string(squashed_string, CALLSIGN_LEN, (int)max_text_width); in multi_df_blit_kill_matrix()
463 font::force_fit_string(squashed_string, CALLSIGN_LEN, (int)max_text_width); in multi_df_blit_kill_matrix()
/dports/deskutils/ausweisapp2/AusweisApp2-1.22.2/resources/qml/Governikus/IdentifyView/+mobile/
H A DTransportPinReminderView.qml89 Layout.maximumWidth: Style.dimens.max_text_width / 2
107 Layout.maximumWidth: Style.dimens.max_text_width / 2
/dports/x11-fm/nemo/nemo-4.8.3/src/
H A Dnemo-icon-view-container.c59 double *max_text_width,
733 double max_text_width, max_icon_width; in lay_down_icons_horizontal() local
754 max_icon_width = max_text_width = 0.0; in lay_down_icons_horizontal()
776 max_text_width = MAX (max_text_width, ceil (text_bounds.x1 - text_bounds.x0)); in lay_down_icons_horizontal()
890 double max_text_width, max_icon_width; in lay_down_icons_vertical() local
911 max_icon_width = max_text_width = 0.0; in lay_down_icons_vertical()
917 &max_text_width, &max_text_height, in lay_down_icons_vertical()
920 max_width = max_icon_width + max_text_width; in lay_down_icons_vertical()
1215 double *max_text_width, in get_max_icon_dimensions() argument
1225 *max_icon_width = *max_text_width = 0.0; in get_max_icon_dimensions()
[all …]
/dports/deskutils/ausweisapp2/AusweisApp2-1.22.2/resources/qml/Governikus/Global/+desktop/
H A DDecisionView.qml66 width: Math.min(parent.width - (2 * Constants.pane_padding), Style.dimens.max_text_width)
86 width: Math.min(parent.width - (2 * Constants.pane_padding), Style.dimens.max_text_width)
/dports/deskutils/ausweisapp2/AusweisApp2-1.22.2/resources/qml/Governikus/ResultView/+desktop/
H A DResultView.qml66 Layout.maximumWidth: Style.dimens.max_text_width
82 Layout.maximumWidth: Style.dimens.max_text_width
/dports/x11-toolkits/open-motif/motif-2.3.8/lib/Xm/
H A DIconButtonP.h102 Dimension max_text_width; /* maximum space the text can take up. */ member
150 #define XmIconButton_max_text_width(w) (((XmIconButtonWidget)(w))->icon.max_text_width)
/dports/deskutils/ausweisapp2/AusweisApp2-1.22.2/resources/qml/Governikus/Style/+mobile/
H A DPlatformDimensions.qml27 readonly property real max_text_width: 500
/dports/www/links1/links-1.04/
H A Dtypes.c144 max_text_width(term, ct_msg[0], &max); in add_ct_fn()
146 max_text_width(term, ct_msg[1], &max); in add_ct_fn()
148 max_text_width(term, ct_msg[2], &max); in add_ct_fn()
358 max_text_width(term, ext_msg[0], &max); in add_ext_fn()
360 max_text_width(term, ext_msg[1], &max); in add_ext_fn()
/dports/deskutils/ausweisapp2/AusweisApp2-1.22.2/resources/qml/Governikus/CheckIDCardView/+mobile/
H A DCheckIDCardResultView.qml95 Layout.maximumWidth: Style.dimens.max_text_width
218 Layout.maximumWidth: Style.dimens.max_text_width
H A DCheckIDCardResultEntry.qml19 Layout.maximumWidth: Style.dimens.max_text_width
H A DCheckIDCardView.qml72 Layout.maximumWidth: Style.dimens.max_text_width
/dports/x11-fm/nautilus/nautilus-41.1/src/
H A Dnautilus-canvas-item.c748 guint max_text_width; in nautilus_canvas_item_get_max_text_width() local
758 max_text_width = MAX_TEXT_WIDTH_SMALL; in nautilus_canvas_item_get_max_text_width()
764 max_text_width = MAX_TEXT_WIDTH_STANDARD; in nautilus_canvas_item_get_max_text_width()
770 max_text_width = MAX_TEXT_WIDTH_LARGE; in nautilus_canvas_item_get_max_text_width()
776 max_text_width = MAX_TEXT_WIDTH_LARGER; in nautilus_canvas_item_get_max_text_width()
783 max_text_width = MAX_TEXT_WIDTH_STANDARD; in nautilus_canvas_item_get_max_text_width()
787 return max_text_width * canvas_item->canvas->pixels_per_unit - 2 * TEXT_BACK_PADDING_X; in nautilus_canvas_item_get_max_text_width()
992 int max_text_width; in draw_label_text() local
1023 max_text_width = floor (nautilus_canvas_item_get_max_text_width (item)); in draw_label_text()
1060 x = text_rect.x0 + ((text_rect.x1 - text_rect.x0) - max_text_width) / 2; in draw_label_text()
/dports/www/rt44/rt-4.4.5/share/html/Search/
H A DChart391 my $max_text_width = 0;
395 $max_text_width = $width if $width > $max_text_width;
397 if ( $max_text_width > $Height*0.4 ) {
398 $Height = int($max_text_width / 0.4 + 1);
/dports/www/rt50/rt-5.0.2/share/html/Search/
H A DChart391 my $max_text_width = 0;
395 $max_text_width = $width if $width > $max_text_width;
397 if ( $max_text_width > $Height*0.4 ) {
398 $Height = int($max_text_width / 0.4 + 1);
/dports/deskutils/ausweisapp2/AusweisApp2-1.22.2/resources/qml/Governikus/Style/+desktop/
H A DPlatformDimensions.qml22 readonly property real max_text_width: ApplicationModel.scaleFactor * 1000

1234