Changeset 83697 in vbox
- Timestamp:
- Apr 15, 2020 11:28:59 AM (5 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/softkeyboard/UISoftKeyboard.cpp
r83696 r83697 2222 2222 , m_iXSpacing(5) 2223 2223 , m_iYSpacing(5) 2224 , m_iLeftMargin( 10)2224 , m_iLeftMargin(0) 2225 2225 , m_iTopMargin(10) 2226 , m_iRightMargin( 10)2226 , m_iRightMargin(0) 2227 2227 , m_iBottomMargin(10) 2228 2228 , m_enmMode(Mode_Keyboard) … … 2305 2305 else 2306 2306 painter.translate(key.keyGeometry().x(), key.keyGeometry().y()); 2307 2308 int m_iBeforeNumPadWidth = 0; 2309 2310 if (key.keyboardRegion() == KeyboardRegion_NumPad) 2311 painter.translate(m_iBeforeNumPadWidth, 0); 2307 2312 2308 2313 if(&key == m_pKeyBeingEdited) … … 2344 2349 else 2345 2350 painter.translate(-key.keyGeometry().x(), -key.keyGeometry().y()); 2346 2351 if (key.keyboardRegion() == KeyboardRegion_NumPad) 2352 painter.translate(- m_iBeforeNumPadWidth, 0); 2347 2353 } 2348 2354 } … … 3014 3020 iXNoNumPad += m_iXSpacing; 3015 3021 if (key.spaceWidthAfter() != 0) 3016 iXNoNumPad += (m_iXSpacing + key.spaceWidthAfter());3022 iXNoNumPad += key.spaceWidthAfter(); 3017 3023 } 3018 3024 } … … 3031 3037 m_iInitialWidthNoNumPad = qMax(m_iInitialWidthNoNumPad, iInitialWidthNoNumPad); 3032 3038 m_iInitialHeight = qMax(m_iInitialHeight, iInitialHeight); 3033 3034 3039 return true; 3035 3040 } -
trunk/src/VBox/Frontends/VirtualBox/xml/101_ansi.xml
r81868 r83697 230 230 <scancode>0x49</scancode> 231 231 </key> 232 <space>233 <width>25</width>234 </space>235 232 </row> 236 233 <row> … … 345 342 <scancodeprefix>0xe0</scancodeprefix> 346 343 </key> 347 <space>348 <width>25</width>349 </space>350 344 </row> 351 345 <row> … … 434 428 </key> 435 429 <space> 436 <width> 220</width>430 <width>190</width> 437 431 </space> 438 432 </row> … … 440 434 <key> 441 435 <width>125</width> 442 443 436 <usageid>0xe1</usageid> 444 437 <usagepage>0x7</usagepage> … … 528 521 </key> 529 522 <space> 530 <width> 80</width>523 <width>50</width> 531 524 </space> 532 525 </row> … … 632 625 <scancode>0x4d</scancode> 633 626 </key> 634 <space>635 <width>25</width>636 </space>637 627 </row> 638 628 </physicallayout> -
trunk/src/VBox/Frontends/VirtualBox/xml/102_iso.xml
r81868 r83697 231 231 <scancode>0x49</scancode> 232 232 </key> 233 <space>234 <width>25</width>235 </space>236 233 </row> 237 234 <row> … … 353 350 <scancodeprefix>0xe0</scancodeprefix> 354 351 </key> 355 <space>356 <width>25</width>357 </space>358 352 </row> 359 353 <row> … … 439 433 </key> 440 434 <space> 441 <width>2 85</width>435 <width>255</width> 442 436 </space> 443 437 </row> … … 537 531 </key> 538 532 <space> 539 <width> 80</width>533 <width>50</width> 540 534 </space> 541 535 </row> … … 640 634 <scancode>0x4d</scancode> 641 635 </key> 642 <space>643 <width>25</width>644 </space>645 636 </row> 646 637 </physicallayout> -
trunk/src/VBox/Frontends/VirtualBox/xml/103_ansi.xml
r81868 r83697 228 228 <scancode>0x49</scancode> 229 229 </key> 230 <space>231 <width>25</width>232 </space>233 230 </row> 234 231 <row> … … 343 340 <scancodeprefix>0xe0</scancodeprefix> 344 341 </key> 345 <space>346 <width>25</width>347 </space>348 342 </row> 349 343 <row> … … 432 426 </key> 433 427 <space> 434 <width> 220</width>428 <width>190</width> 435 429 </space> 436 430 </row> … … 526 520 </key> 527 521 <space> 528 <width> 80</width>522 <width>50</width> 529 523 </space> 530 524 </row> … … 639 633 <scancode>0x4d</scancode> 640 634 </key> 641 <space>642 <width>25</width>643 </space>644 635 </row> 645 636 </physicallayout> -
trunk/src/VBox/Frontends/VirtualBox/xml/103_iso.xml
r81868 r83697 231 231 <scancode>0x49</scancode> 232 232 </key> 233 <space>234 <width>25</width>235 </space>236 233 </row> 237 234 <row> … … 353 350 <scancodeprefix>0xe0</scancodeprefix> 354 351 </key> 355 <space>356 <width>25</width>357 </space>358 352 </row> 359 353 <row> … … 439 433 </key> 440 434 <space> 441 <width>2 85</width>435 <width>255</width> 442 436 </space> 443 437 </row> … … 542 536 </key> 543 537 <space> 544 <width> 80</width>538 <width>50</width> 545 539 </space> 546 540 </row> … … 643 637 <scancode>0x4d</scancode> 644 638 </key> 645 <space>646 <width>25</width>647 </space>648 639 </row> 649 640 </physicallayout> -
trunk/src/VBox/Frontends/VirtualBox/xml/106_japanese.xml
r81868 r83697 237 237 <scancode>0x49</scancode> 238 238 </key> 239 <space>240 <width>25</width>241 </space>242 239 </row> 243 240 <row> … … 359 356 <scancodeprefix>0xe0</scancodeprefix> 360 357 </key> 361 <space>362 <width>25</width>363 </space>364 358 </row> 365 359 <row> … … 445 439 </key> 446 440 <space> 447 <width>2 85</width>441 <width>255</width> 448 442 </space> 449 443 </row> … … 543 537 </key> 544 538 <space> 545 <width> 80</width>539 <width>50</width> 546 540 </space> 547 541 </row> … … 661 655 <scancode>0x4d</scancode> 662 656 </key> 663 <space>664 <width>25</width>665 </space>666 657 </row> 667 658 </physicallayout>
Note:
See TracChangeset
for help on using the changeset viewer.