[haiku-bugs] [Haiku] #18155: Expander: BAlerts weird layout

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Sun, 18 Dec 2022 10:11:54 -0000

#18155: Expander: BAlerts weird layout
-----------------------------------+--------------------------
 Reporter:  humdinger              |       Owner:  nobody
     Type:  bug                    |      Status:  new
 Priority:  normal                 |   Milestone:  Unscheduled
Component:  Applications/Expander  |     Version:  R1/beta4
 Keywords:                         |  Blocked By:
 Blocking:                         |    Platform:  All
-----------------------------------+--------------------------
 This is hrev56578+59, 64bit.

 * Open an archive in Expander.
 * Put some non-existing location in the Destination text box (like adding
 a "/newfolder" to the default location there).
 * Press "TAB" and this BAlert appears:

 [[Image(alert_expander.png)]]

 Why does it look funny? The code appears like any other BAlert:
 {{{
 BAlert* alert = new BAlert("destAlert",
         B_TRANSLATE("Destination folder doesn't exist. "
                 "Would you like to create it?"),
         B_TRANSLATE("Cancel"), B_TRANSLATE("Create"), NULL,
         B_WIDTH_AS_USUAL, B_INFO_ALERT);
 }}}
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/18155>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: