Small refactor of text rect measurement. Add move/resize icons

This commit is contained in:
Henrik Rydgård
2025-11-27 11:50:22 +01:00
parent f949bc8faf
commit 1ea93e2913
14 changed files with 65 additions and 69 deletions
+2 -2
View File
@@ -285,8 +285,8 @@ void DisplayLayoutScreen::CreateViews() {
mode_ = new ChoiceStrip(ORIENT_HORIZONTAL, new LinearLayoutParams(WRAP_CONTENT, WRAP_CONTENT));
mode_->AddChoice(di->T("Inactive"));
mode_->AddChoice(di->T("Move"));
mode_->AddChoice(di->T("Resize"));
mode_->AddChoice(di->T("Move")); // , ImageID("I_MOVE") (can't fit the icons here yet, especially not in portrait)
mode_->AddChoice(di->T("Resize")); // , ImageID("I_RESIZE"));
mode_->SetSelection(0, false);
bottomControls->Add(mode_);