We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
To Reproduce Steps to reproduce the behavior:
Expected behavior The width of singleline has not changed. Horizontal should use the width of singleline instead of the length of the text.
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
cargo --version cargo 1.84.0 (66221abde 2024-11-19)
[dependencies] eframe = { version = "0.30.0", default-features = false, features = ["accesskit", "glow", "persistence"]} egui_extras = { version = "0.30", features = ["image"] }
ui.horizontal(|ui| { egui::TextEdit::singleline(&mut httpConfig.name) .desired_width(100.0) .show(ui); egui::ComboBox::from_id_source("method") .selected_text(httpConfig.req_cfg.method.as_ref()) .show_ui(ui, |ui| { for m in &METHODS { ui.selectable_value( &mut httpConfig.req_cfg.method, m.to_owned(), m.as_ref(), ); } }); ui.add( egui::TextEdit::singleline(&mut httpConfig.req_cfg.url) .desired_width(300.) .hint_text("http url"), ); ui.add( egui::TextEdit::singleline(&mut httpConfig.send_count_ui) .desired_width(60.) .hint_text("Count"), ); if ui .add_enabled(!httpConfig.req_cfg.url.is_empty(), egui::Button::new("Send")) .clicked() { } ui.separator(); // request result count let (s, e, r) = httpConfig.get_request_reper(); ui.label(format!("s:{s}, e:{e}, r:{r}")); ui.separator(); });
The text was updated successfully, but these errors were encountered:
Looks like a duplicate of #5500
Sorry, something went wrong.
No branches or pull requests
Describe the bug
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The width of singleline has not changed. Horizontal should use the width of singleline instead of the length of the text.
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: